Skip to content

Commit 7ab2239

Browse files
committed
#13 Revert check
1 parent 70fd85a commit 7ab2239

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pymelcloud/device.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ async def update(self):
9696
self._state = await self._client.fetch_device_state(self)
9797
self._energy_report = await self._client.fetch_energy_report(self)
9898

99-
if self._device_units is None:
99+
if self._device_units is None and self.access_level != ACCESS_LEVEL.get(
100+
"GUEST"
101+
):
100102
self._device_units = await self._client.fetch_device_units(self)
101103

102104
async def set(self, properties: Dict[str, Any]):

0 commit comments

Comments
 (0)