File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -157,14 +157,19 @@ def _get_appliances(self) -> bool:
157157
158158 extend_plug_device_class (appl , appliance )
159159
160- if appl .entity_id not in self ._existing_appliances :
161- self ._new_appliances .append (appl .entity_id )
162- elif (
160+ self ._new_appliances .append (appl .entity_id )
161+ if appl .entity_id in self ._existing_appliances and (
163162 appl .pwclass in ("gateway" , "heater_central" )
164163 or self .gw_entities [appl .entity_id ]["name" ] == appl .name
165164 ):
166165 continue
167166
167+ # if (
168+ # appl.pwclass in ("gateway", "heater_central") # Names are fixed in software
169+ # or self.gw_entities[appl.entity_id]["name"] == appl.name
170+ # ):
171+ # continue
172+
168173 # Collect appliance info, skip orphaned/removed devices
169174 if not (appl := self ._appliance_info_finder (appl , appliance )):
170175 if appl .entity_id in self ._new_appliances :
You can’t perform that action at this time.
0 commit comments