We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cfd3f5 commit 6190f42Copy full SHA for 6190f42
1 file changed
plugwise_usb/connection/__init__.py
@@ -72,7 +72,7 @@ def hardware_stick(self) -> str | None:
72
return self._hw_stick
73
74
@property
75
- def mac_stick(self) -> str ? None:
+ def mac_stick(self) -> str | None:
76
"""MAC address of USB-Stick."""
77
return self._mac_stick
78
@@ -186,7 +186,7 @@ async def initialize_stick(self) -> None:
186
# Add Stick NodeInfoRequest
187
node_info, _ = await self.get_node_details(self._mac_stick, ping_first=False)
188
if node_info is not None:
189
- self._fw_stick = node_info.firmware
+ self._fw_stick = node_info.firmware # type: ignore
190
hardware, _ = version_to_model(node_info.hardware)
191
self._hw_stick = hardware
192
0 commit comments