Skip to content

Commit a8498e6

Browse files
committed
_node_info_load_from_cache() debug result
1 parent 235d881 commit a8498e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugwise_usb/nodes/node.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ async def _node_info_load_from_cache(self) -> bool:
484484
node_type: NodeType | None = None
485485
if (node_type_str := self._get_cache(CACHE_NODE_TYPE)) is not None:
486486
node_type = NodeType(int(node_type_str))
487-
return await self.update_node_details(
487+
result = await self.update_node_details(
488488
firmware=firmware,
489489
hardware=hardware,
490490
node_type=node_type,
@@ -493,6 +493,8 @@ async def _node_info_load_from_cache(self) -> bool:
493493
relay_state=None,
494494
logaddress_pointer=None,
495495
)
496+
_LOGGER.debug("_node_info_load_from_cache returns %s", result)
497+
return result
496498

497499
# pylint: disable=too-many-arguments
498500
async def update_node_details(

0 commit comments

Comments
 (0)