Skip to content

Commit 28f53d7

Browse files
committed
Debug 2
1 parent 50c866b commit 28f53d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugwise/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,13 @@ async def _smile_detect_legacy(
328328

329329
async def async_update(self) -> dict[str, GwEntityData]:
330330
"""Update the Plughwise Gateway entities and their data and states."""
331+
data: dict[str, GwEntityData] = {}
331332
try:
332333
data = await self._smile_api.async_update()
333334
except (DataMissingError, KeyError) as err:
334335
raise PlugwiseError("No Plugwise data received") from err
335336

337+
LOGGER.debug("HOI data: %s", data)
336338
return data
337339

338340
########################################################################################################

0 commit comments

Comments
 (0)