Skip to content

Commit 649d8fc

Browse files
committed
Add Stick properties
1 parent fc9baf0 commit 649d8fc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

plugwise_usb/__init__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,16 @@ def joined_nodes(self) -> int | None:
117117
return None
118118
return len(self._network.registry) + 1
119119

120+
@property
121+
def firmware_stick(self) -> str:
122+
"""Firmware of USB-Stick."""
123+
return self._controller.firmware_stick
124+
125+
@property
126+
def hardware_stick(self) -> str:
127+
"""Hardware of USB-Stick."""
128+
return self._controller.hardware_stick
129+
120130
@property
121131
def mac_stick(self) -> str:
122132
"""MAC address of USB-Stick. Raises StickError is connection is missing."""

0 commit comments

Comments
 (0)