Skip to content

Commit 72e3203

Browse files
committed
Let's keep/add debug messages for troubleshooting
1 parent 023bce3 commit 72e3203

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugwise_usb/nodes/sense.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,17 @@ async def load(self) -> bool:
5151
if self._loaded:
5252
return True
5353

54+
_LOGGER.debug("Loading Sense node %s", self._node_info.mac)
5455
if not await super().load():
56+
_LOGGER.debug("Load Sense base node %s failed")
5557
return False
5658

5759
self._setup_protocol(SENSE_FIRMWARE_SUPPORT, SENSE_FEATURES)
5860
if await self.initialize():
5961
await self._loaded_callback(NodeEvent.LOADED, self.mac)
6062
return True
6163

62-
_LOGGER.debug("Loading of Sense node %s failed", self._node_info.mac)
64+
_LOGGER.debug("Load Sense node %s failed", self._node_info.mac)
6365
return False
6466

6567
@raise_not_loaded

0 commit comments

Comments
 (0)