Skip to content

Commit d3fae83

Browse files
committed
Correct return
1 parent cf9e669 commit d3fae83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ def _control_state(self, data: GwEntityData) -> str | bool:
820820
Note: heating or cooling can still be active when the setpoint has been reached.
821821
"""
822822
if (thermostat := data.get("thermostat")) is None:
823-
return
823+
return False
824824

825825
if (ctrl_state := thermostat.get("control_state")) is not None:
826826
data["thermostat"].pop("control_state")

0 commit comments

Comments
 (0)