We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf9e669 commit d3fae83Copy full SHA for d3fae83
1 file changed
plugwise/helper.py
@@ -820,7 +820,7 @@ def _control_state(self, data: GwEntityData) -> str | bool:
820
Note: heating or cooling can still be active when the setpoint has been reached.
821
"""
822
if (thermostat := data.get("thermostat")) is None:
823
- return
+ return False
824
825
if (ctrl_state := thermostat.get("control_state")) is not None:
826
data["thermostat"].pop("control_state")
0 commit comments