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 995d577 commit 3f28436Copy full SHA for 3f28436
plugwise/helper.py
@@ -855,7 +855,7 @@ def _scan_thermostats(self) -> None:
855
removed = list(set(self._existing_zones) - set(self._new_zones))
856
if self._existing_zones and removed:
857
for location_id in removed:
858
- self._zones.pop(location_id)
+ self._zones.pop(location_id, None)
859
860
self._existing_zones = self._new_zones
861
self._new_zones = []
0 commit comments