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 4c6cab9 commit e7499b6Copy full SHA for e7499b6
plugwise/helper.py
@@ -158,12 +158,9 @@ def _get_appliances(self) -> bool:
158
extend_plug_device_class(appl, appliance)
159
160
self._new_appliances.append(appl.entity_id)
161
- if (
162
- appl.entity_id in self._existing_appliances
163
- and (
164
- appl.pwclass in ("gateway", "heater_central")
165
- or self.gw_entities[appl.entity_id]["name"] == appl.name
166
- )
+ if appl.entity_id in self._existing_appliances and (
+ appl.pwclass in ("gateway", "heater_central")
+ or self.gw_entities[appl.entity_id]["name"] == appl.name
167
):
168
continue
169
0 commit comments