Skip to content

Commit 2b3ac75

Browse files
committed
Anna only has one thermostat
1 parent 04934be commit 2b3ac75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ def update_for_cooling(self, device: DeviceData) -> None:
7070
# For heating + cooling, replace setpoint with setpoint_high/_low
7171
if (
7272
self.smile(ANNA)
73-
and device["dev_class"] in ZONE_THERMOSTATS
7473
and self._cooling_present
74+
and device["dev_class"] == "thermostat"
7575
):
7676
thermostat = device["thermostat"]
7777
sensors = device["sensors"]

0 commit comments

Comments
 (0)