Skip to content

Commit e7499b6

Browse files
committed
Ruffed
1 parent 4c6cab9 commit e7499b6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

plugwise/helper.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,9 @@ def _get_appliances(self) -> bool:
158158
extend_plug_device_class(appl, appliance)
159159

160160
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-
)
161+
if appl.entity_id in self._existing_appliances and (
162+
appl.pwclass in ("gateway", "heater_central")
163+
or self.gw_entities[appl.entity_id]["name"] == appl.name
167164
):
168165
continue
169166

0 commit comments

Comments
 (0)