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 70fd85a commit 7ab2239Copy full SHA for 7ab2239
src/pymelcloud/device.py
@@ -96,7 +96,9 @@ async def update(self):
96
self._state = await self._client.fetch_device_state(self)
97
self._energy_report = await self._client.fetch_energy_report(self)
98
99
- if self._device_units is None:
+ if self._device_units is None and self.access_level != ACCESS_LEVEL.get(
100
+ "GUEST"
101
+ ):
102
self._device_units = await self._client.fetch_device_units(self)
103
104
async def set(self, properties: Dict[str, Any]):
0 commit comments