Skip to content

Commit 9b70cb2

Browse files
committed
Revert back to _full_update_device() from v0.21.4
1 parent 1af73ef commit 9b70cb2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

plugwise/smile.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,11 @@ async def _full_update_device(self) -> None:
474474
self._appliances = await self._request(APPLIANCES)
475475
await self._update_domain_objects()
476476

477+
if self.smile_type != "power":
478+
await self._update_domain_objects()
479+
if not self._smile_legacy:
480+
self._appliances = await self._request(APPLIANCES)
481+
477482
async def _update_domain_objects(self) -> None:
478483
"""Helper-function for smile.py: full_update_device() and async_update().
479484
Request domain_objects data.

0 commit comments

Comments
 (0)