Skip to content

Commit 05c7e82

Browse files
committed
Try 5
1 parent c6e5c60 commit 05c7e82

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugwise/helper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def _all_appliances(self) -> bool:
157157

158158
self._create_gw_entities(appl)
159159

160-
if not self._new_appliances:
160+
if self._existing_appliances == self._new_appliances:
161161
return False
162162

163163
# A smartmeter is not present as an appliance, add it specifically
@@ -167,7 +167,6 @@ def _all_appliances(self) -> bool:
167167
# Sort the gw_entities
168168
self._reorder_devices()
169169

170-
LOGGER.debug("HOI new: %s", self._new_appliances)
171170
self._existing_appliances = self._new_appliances
172171
self._new_appliances = []
173172
return True

0 commit comments

Comments
 (0)