Skip to content

Commit c0e19a3

Browse files
committed
Try 2
1 parent 505750e commit c0e19a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugwise/helper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ def _all_appliances(self) -> bool:
150150
continue
151151

152152
if appl.entity_id in self._existing_appliances:
153+
self._new_appliances.append((appl.entity_id))
153154
continue
154155
else:
155156
self._new_appliances.append(appl.entity_id)
@@ -165,6 +166,9 @@ def _all_appliances(self) -> bool:
165166

166167
# Sort the gw_entities
167168
self._reorder_devices()
169+
170+
self._existing_appliances = self._new_appliances
171+
self._new_appliances = []
168172
return True
169173

170174
def _add_p1_smartmeter_info(self) -> None:

0 commit comments

Comments
 (0)