Skip to content

Commit fec9043

Browse files
committed
Debug
1 parent 914a274 commit fec9043

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

plugwise/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ def get_all_gateway_entities(self) -> None:
307307
async def async_update(self) -> PlugwiseData:
308308
"""Update the Plughwise Gateway entities and their data and states."""
309309
data = PlugwiseData(devices={}, gateway={})
310+
LOGGER.debug("HOI begin gateway_id: %s", self.gateway_id)
311+
LOGGER.debug("HOI begin last-active: %s", self._last_active)
310312
try:
311313
data = await self._smile_api.async_update()
312314
except (DataMissingError, KeyError) as err:

plugwise/smile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,6 @@ async def async_update(self) -> PlugwiseData:
13711371
self.gw_data: GatewayData = {}
13721372
self.gw_entities: dict[str, GwEntityData] = {}
13731373
self._zones: dict[str, GwEntityData] = {}
1374-
LOGGER.debug("HOI 2 gateway_id: %s", self.gateway_id)
13751374
try:
13761375
await self.full_xml_update()
13771376
LOGGER.debug("HOI 2a gateway_id: %s", self.gateway_id)

0 commit comments

Comments
 (0)