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 57e1206 commit 513debdCopy full SHA for 513debd
plugwise/__init__.py
@@ -476,9 +476,10 @@ async def _full_update_device(self) -> None:
476
"""Perform a first fetch of all XML data, needed for initialization."""
477
self._locations = await self._request(LOCATIONS)
478
self._modules = await self._request(MODULES)
479
-
480
- # P1 legacy has no appliances and nothing of interest in domain_objects
481
- if not (self.smile_type == "power" and self._smile_legacy):
+ if self.smile_type == "power":
+ if not self._smile_legacy:
+ self._appliances = await self._request(APPLIANCES)
482
+ else:
483
self._appliances = await self._request(APPLIANCES)
484
await self._update_domain_objects()
485
0 commit comments