Skip to content

Commit aaa3a79

Browse files
committed
Modify cooling_state for _lortherm_cooling_active as well
1 parent bcc0f7f commit aaa3a79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/smile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def update_for_cooling(self, devices: dict[str, DeviceData]) -> None:
5959
if self.smile_name == "Anna":
6060
if device["dev_class"] == "heater_central" and self._cooling_present:
6161
device["binary_sensors"]["cooling_state"] = False
62-
if self._elga_cooling_active:
62+
if self._elga_cooling_active or self._lortherm_cooling_active:
6363
device["binary_sensors"]["cooling_state"] = True
6464

6565
# Add setpoint_low and setpoint_high when cooling is enabled

0 commit comments

Comments
 (0)