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 50c866b commit 28f53d7Copy full SHA for 28f53d7
plugwise/__init__.py
@@ -328,11 +328,13 @@ async def _smile_detect_legacy(
328
329
async def async_update(self) -> dict[str, GwEntityData]:
330
"""Update the Plughwise Gateway entities and their data and states."""
331
+ data: dict[str, GwEntityData] = {}
332
try:
333
data = await self._smile_api.async_update()
334
except (DataMissingError, KeyError) as err:
335
raise PlugwiseError("No Plugwise data received") from err
336
337
+ LOGGER.debug("HOI data: %s", data)
338
return data
339
340
########################################################################################################
0 commit comments