Skip to content

Commit 6190f42

Browse files
committed
Ruff fixes
1 parent 2cfd3f5 commit 6190f42

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugwise_usb/connection/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def hardware_stick(self) -> str | None:
7272
return self._hw_stick
7373

7474
@property
75-
def mac_stick(self) -> str ? None:
75+
def mac_stick(self) -> str | None:
7676
"""MAC address of USB-Stick."""
7777
return self._mac_stick
7878

@@ -186,7 +186,7 @@ async def initialize_stick(self) -> None:
186186
# Add Stick NodeInfoRequest
187187
node_info, _ = await self.get_node_details(self._mac_stick, ping_first=False)
188188
if node_info is not None:
189-
self._fw_stick = node_info.firmware
189+
self._fw_stick = node_info.firmware # type: ignore
190190
hardware, _ = version_to_model(node_info.hardware)
191191
self._hw_stick = hardware
192192

0 commit comments

Comments
 (0)