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 7bdafd1 commit cb85089Copy full SHA for cb85089
plugwise/data.py
@@ -312,8 +312,7 @@ def check_reg_mode(self, mode: str) -> bool:
312
def _get_anna_control_state(self, data: GwEntityData) -> None:
313
"""Set the thermostat control_state based on the opentherm/onoff device state."""
314
data["control_state"] = "idle"
315
- for entity_id in self.gw_entities:
316
- entity = self.gw_entities[entity_id]
+ for entity in self.gw_entities.valuess():
317
if entity["dev_class"] != "heater_central":
318
continue
319
0 commit comments