Skip to content

Commit d0b1da2

Browse files
bouwewBouwe Westerdijk
authored andcommitted
Revert "Remove thermostat/setpoint from DEVICE_MEAS"
This reverts commit 8a4e88b.
1 parent 5ec6bf8 commit d0b1da2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugwise/constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,8 @@
448448
DEVICE_MEASUREMENTS: Final[dict[str, dict[str, str]]] = {
449449
# HA Core thermostat current_temperature
450450
"temperature": {ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS},
451+
# HA Core thermostat setpoint
452+
"thermostat": {ATTR_NAME: "setpoint", ATTR_UNIT_OF_MEASUREMENT: TEMP_CELSIUS},
451453
# Specific for an Anna
452454
"illuminance": {ATTR_UNIT_OF_MEASUREMENT: UNIT_LUMEN},
453455
# Specific for an Anna with heatpump extension installed

0 commit comments

Comments
 (0)