Skip to content

Commit fa6190a

Browse files
committed
Debug
1 parent 4995d35 commit fa6190a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

plugwise_usb/network/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,12 +291,15 @@ async def discover_stick(self, load: bool = False) -> bool:
291291
if self._controller.mac_stick is None:
292292
raise NodeError("Unknown mac address for the Stick.")
293293

294-
_LOGGER.debug("Optain Stick info")
294+
_LOGGER.debug("Obtain Stick info")
295295
node_info, _ = await self._controller.get_node_details(self._controller.mac_stick, ping_first=False)
296296
if node_info is not None:
297+
_LOGGER.debug("HOI fw_stick before: %s", self._controller.fw_stick)
297298
self._controller.fw_stick = node_info.firmware
298299
self._controller.hw_stick = node_info.hardware
299-
300+
_LOGGER.debug("HOI fw_stick: %s", self._controller.fw_stick)
301+
_LOGGER.debug("HOI hw_stick: %s", self._controller.hw_stick)
302+
300303
# region - Coordinator
301304
async def discover_network_coordinator(self, load: bool = False) -> bool:
302305
"""Discover the Zigbee network coordinator (Circle+/Stealth+)."""

0 commit comments

Comments
 (0)