We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6305d93 commit 7128c53Copy full SHA for 7128c53
1 file changed
plugwise_usb/connection/__init__.py
@@ -75,6 +75,7 @@ def hardware_stick(self) -> str | None:
75
def mac_stick(self) -> str:
76
"""MAC address of USB-Stick. Raises StickError when not connected."""
77
if self._mac_stick is None:
78
+ _LOGGER.debug("mac_stick: %s", self._mac_stick)
79
raise StickError(
80
"No mac address available. Connect and initialize USB-Stick first."
81
)
@@ -86,6 +87,8 @@ def mac_coordinator(self) -> str:
86
87
88
Raises StickError when not connected.
89
"""
90
+ _LOGGER.debug("mac_coordinator: %s", self._mac_nc)
91
+ _LOGGER.debug("is_connected: %s", self._manager.is_connected)
92
if not self._manager.is_connected or self._mac_nc is None:
93
94
0 commit comments