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 4a7c611 commit 67309e7Copy full SHA for 67309e7
plugwise/helper.py
@@ -166,11 +166,9 @@ def _get_appliances(self) -> bool:
166
continue
167
168
# Collect appliance info, skip orphaned/removed devices
169
- if not (
170
- (appl := self._appliance_info_finder(appl, appliance))
171
- and appl.entity_id in self._new_appliances
172
- ):
173
- self._new_appliances.pop()
+ if not (appl := self._appliance_info_finder(appl, appliance)):
+ if appl.entity_id in self._new_appliances:
+ self._new_appliances.pop()
174
175
176
self._create_gw_entities(appl)
0 commit comments