Skip to content

Commit c955ca0

Browse files
committed
Try
1 parent 52a8d52 commit c955ca0

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

plugwise_usb/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ def joined_nodes(self) -> int | None:
120120
@property
121121
def firmware_stick(self) -> str:
122122
"""Firmware of USB-Stick."""
123-
return self._controller._fw_stick
123+
return self._controller.firmware_stick
124124

125125
@property
126126
def hardware_stick(self) -> str:
127127
"""Hardware of USB-Stick."""
128-
return self._controller._hw_stick
128+
return self._controller.hardware_stick
129129

130130
@property
131131
def mac_stick(self) -> str:

plugwise_usb/connection/__init__.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ def is_connected(self) -> bool:
5656
"""Return connection state from connection manager."""
5757
return self._manager.is_connected
5858

59-
# @property
60-
# def firmware_stick(self) -> str | None:
61-
# """Firmware version of the Stick."""
62-
# return self._fw_stick
63-
64-
# @property
65-
# def hardware_stick(self) -> str | None:
66-
# """Hardware version of the Stick."""
67-
# return self._hw_stick
59+
@property
60+
def firmware_stick(self) -> str | None:
61+
"""Firmware version of the Stick."""
62+
return self._fw_stick
63+
64+
@property
65+
def hardware_stick(self) -> str | None:
66+
"""Hardware version of the Stick."""
67+
return self._hw_stick
6868

6969
@property
7070
def mac_stick(self) -> str:

0 commit comments

Comments
 (0)