Skip to content

Commit f364bcf

Browse files
committed
Debug circle._node_info_load_from_cache()
1 parent b26ad87 commit f364bcf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -964,12 +964,18 @@ async def node_info_update(
964964
async def _node_info_load_from_cache(self) -> bool:
965965
"""Load node info settings from cache."""
966966
result = await super()._node_info_load_from_cache()
967+
_LOGGER.debug("circle._node_info_load_from_cache | result=%s", result)
967968
if (
968969
current_log_address := self._get_cache(CACHE_CURRENT_LOG_ADDRESS)
969970
) is not None:
970971
self._current_log_address = int(current_log_address)
972+
_LOGGER.debug(
973+
"circle._node_info_load_from_cache | current_log_address=%s",
974+
self._current_log_address
975+
)
971976
return result
972977

978+
_LOGGER.debug("circle._node_info_load_from_cache | current_log_address=None")
973979
return False
974980

975981
# pylint: disable=too-many-arguments

0 commit comments

Comments
 (0)