Skip to content

Commit d172777

Browse files
committed
Don't pop for legacy thermostat
1 parent 850c232 commit d172777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ def all_appliances(self):
485485
"types": appl.types,
486486
"vendor": appl.v_name,
487487
}
488-
if appl.pwclass == "thermostat" and appl.location == None:
488+
if not self._smile_legacy and appl.pwclass == "thermostat" and appl.location == None:
489489
self.appl_data.pop(appl.id)
490490

491491
# For legacy Anna gateway and heater_central is the same device

0 commit comments

Comments
 (0)