Skip to content

Commit f178adb

Browse files
committed
Revert back to using .values()
1 parent e989294 commit f178adb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugwise/helper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,8 +806,7 @@ def _match_and_rank_thermostats(self) -> dict[str, ThermoLoc]:
806806
"thermostatic_radiator_valve": 1,
807807
}
808808
for location_id, location_details in self._loc_data.items():
809-
# for gw_entity_details in self.gw_entities.values():
810-
for entity_id, entity in self.gw_entities.items():
809+
for entity in self.gw_entities.values():
811810
if entity["location"] == location_id:
812811
location_details.update(
813812
{"primary": [], "primary_prio": 0, "secondary": []}

0 commit comments

Comments
 (0)