Skip to content

Commit 433a6d3

Browse files
committed
legacy-data: add missing _count
1 parent ae360d5 commit 433a6d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugwise/legacy/data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def _climate_data(self, entity: GwEntityData, data: GwEntityData) -> None:
8484
def _get_anna_control_state(self, data: GwEntityData) -> None:
8585
"""Set the thermostat control_state based on the opentherm/onoff device state."""
8686
data["control_state"] = "idle"
87+
self._count += 1
8788
for entity in self.gw_entities.values():
8889
if entity["dev_class"] != "heater_central":
8990
continue

0 commit comments

Comments
 (0)