Skip to content

Commit

Permalink
temperature unit dpid added as part of temperature sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
szupi-ipuzs committed Jan 6, 2025
1 parent 9240b87 commit 8f425f6
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@ entities:
- id: 2
name: sensor
type: integer
unit: C
mapping:
- scale: 10
class: measurement
- id: 11
name: unit
type: string
mapping:
- dps_val: "c"
value: "C"
- dps_val: "f"
value: "F"
optional: true
- entity: select
translation_key: temperature_unit
category: config
Expand Down

0 comments on commit 8f425f6

Please sign in to comment.