We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 517f6d5 commit fbb71ffCopy full SHA for fbb71ff
plugwise/data.py
@@ -166,6 +166,9 @@ def _get_location_data(self, loc_id: str) -> GwEntityData:
166
if str(ctrl_state) in ("cooling", "heating", "preheating"):
167
data["control_state"] = str(ctrl_state)
168
self._count += 1
169
+ else:
170
+ data["control_state"] = "idle"
171
+ # control_state not present in regulation+mode off (issue #776)
172
elif self.smile_version >= version.parse("3.2.0"):
173
data["control_state"] = "idle"
174
0 commit comments