Skip to content

Commit ce23450

Browse files
committed
Replace debuggers by distinct message
1 parent 42a46f5 commit ce23450

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

plugwise_usb/connection/__init__.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,9 @@ def hardware_stick(self) -> str | None:
7474
@property
7575
def mac_stick(self) -> str:
7676
"""MAC address of USB-Stick. Raises StickError when not connected."""
77-
_LOGGER.debug("mac_stick: %s", self._mac_stick)
7877
if self._mac_stick is None:
7978
raise StickError(
80-
"No mac address available. Connect and initialize USB-Stick first."
79+
"No mac_stick address available. Connect and initialize USB-Stick first."
8180
)
8281
return self._mac_stick
8382

@@ -87,11 +86,9 @@ def mac_coordinator(self) -> str:
8786
8887
Raises StickError when not connected.
8988
"""
90-
_LOGGER.debug("mac_coordinator: %s", self._mac_nc)
91-
_LOGGER.debug("is_connected: %s", self._manager.is_connected)
9289
if not self._manager.is_connected or self._mac_nc is None:
9390
raise StickError(
94-
"No mac address available. Connect and initialize USB-Stick first."
91+
"No mac_nc address available. Connect and initialize USB-Stick first."
9592
)
9693
return self._mac_nc
9794

0 commit comments

Comments
 (0)