Skip to content

Commit 850c232

Browse files
committed
Filter for thermostats without a location
1 parent 49d7b52 commit 850c232

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugwise/helper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,8 @@ def all_appliances(self):
485485
"types": appl.types,
486486
"vendor": appl.v_name,
487487
}
488+
if appl.pwclass == "thermostat" and appl.location == None:
489+
self.appl_data.pop(appl.id)
488490

489491
# For legacy Anna gateway and heater_central is the same device
490492
if self._smile_legacy and self.smile_type == "thermostat":

0 commit comments

Comments
 (0)