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 3a47928 commit f0410a0Copy full SHA for f0410a0
plugwise/helper.py
@@ -866,9 +866,10 @@ def _rank_thermostat(
866
# Crown primary
867
self._thermo_locs[loc_id]["primary_prio"] = thermo_matching[appl_class]
868
self._thermo_locs[loc_id]["primary"].add(appliance_id)
869
-
870
else:
871
self._thermo_locs[loc_id]["secondary"].add(appliance_id)
+ else:
872
+ self._thermo_locs.pop(loc_id)
873
874
def _control_state(self, loc_id: str) -> str | bool:
875
"""Helper-function for _device_data_adam().
0 commit comments