Skip to content

Commit 9f96f3c

Browse files
committed
Smile.py: update to changed var-names
1 parent e28120d commit 9f96f3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/smile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def get_all_devices(self) -> None:
111111

112112
# Anna: indicate possible active heating/cooling operation-mode
113113
# Actual ongoing heating/cooling is shown via heating_state/cooling_state
114-
if self._anna_cooling_present and self.anna_no_cooling_enabled:
114+
if self._anna_cooling_present and not self.anna_cool_ena_indication:
115115
if (
116116
not self._cooling_enabled
117117
and self._outdoor_temp > self._cooling_activation_outdoor_temp
@@ -194,7 +194,7 @@ def _device_data_climate(
194194
if sched_setpoints is None:
195195
device_data["setpoint_low"] = device_data["setpoint"]
196196
device_data["setpoint_high"] = float(40)
197-
if self._cooling_enabled or not self.anna_no_cooling_enabled:
197+
if self._cooling_enabled or self.anna_cool_ena_indication:
198198
device_data["setpoint_low"] = float(0)
199199
device_data["setpoint_high"] = device_data["setpoint"]
200200
else:

0 commit comments

Comments
 (0)