Skip to content

Commit e4661f0

Browse files
committed
Handle old/new Adam firmware
1 parent 9e99eff commit e4661f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _get_location_data(self, loc_id: str) -> GwEntityData:
164164
if str(ctrl_state) in ("cooling", "heating", "preheating"):
165165
data["control_state"] = str(ctrl_state)
166166
self._count += 1
167-
else:
167+
elif self.smile_version > Version.parse("3.6.0"):
168168
data["control_state"] = "idle"
169169
self._count += 1
170170

0 commit comments

Comments
 (0)