Skip to content

Commit edeb5be

Browse files
committed
Fix logic, don't base on names
1 parent 6389d43 commit edeb5be

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
@@ -161,7 +161,7 @@ def _get_appliances(self) -> bool:
161161
if (
162162
appl.entity_id in self._existing_appliances
163163
and (
164-
appl.name in ("Gateway", "Central heating boiler")
164+
appl.pwclass in ("gateway", "heater_central")
165165
or self.gw_entities[appl.entity_id]["name"] == appl.name
166166
)
167167
):

0 commit comments

Comments
 (0)