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 762d16f commit c9702bfCopy full SHA for c9702bf
plugwise/helper.py
@@ -742,17 +742,9 @@ def _scan_thermostats(self) -> None:
742
the result to update the device_class of secondary thermostats.
743
"""
744
self._thermo_locs = self._match_locations()
745
-
746
- thermo_matching: dict[str, int] = {
747
- "thermostat": 2,
748
- "zone_thermometer": 2,
749
- "zone_thermostat": 2,
750
- "thermostatic_radiator_valve": 1,
751
- }
752
753
for loc_id in self._thermo_locs:
754
for entity_id, entity in self.gw_entities.items():
755
- self._rank_thermostat(thermo_matching, loc_id, entity_id, entity)
+ self._rank_thermostat(THERMO_MATCHING, loc_id, entity_id, entity)
756
757
for loc_id, loc_data in self._thermo_locs.items():
758
if loc_data["primary_prio"] != 0:
0 commit comments