We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 829e1bd commit 7233c2eCopy full SHA for 7233c2e
plugwise_usb/connection/__init__.py
@@ -74,7 +74,7 @@ def hardware_stick(self) -> str | None:
74
@property
75
def mac_stick(self) -> str:
76
"""MAC address of USB-Stick. Raises StickError when not connected."""
77
- if not self._manager.is_connected or self._mac_stick is None:
+ if self._mac_stick is None:
78
raise StickError(
79
"No mac address available. Connect and initialize USB-Stick first."
80
)
0 commit comments