Skip to content
This repository was archived by the owner on Jun 18, 2026. It is now read-only.

Commit eaea145

Browse files
committed
Fix for lint
1 parent 7989ebf commit eaea145

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

switchbot_client/devices/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __post_init__(self):
2626
raise TypeError
2727

2828
# SwitchBot API returns FFFFFFFFFFFF or 000000000000 if there is no hub device ID
29-
if self.hub_device_id == "FFFFFFFFFFFF" or self.hub_device_id == "000000000000":
29+
if self.hub_device_id in ["FFFFFFFFFFFF", "000000000000"]:
3030
self.hub_device_id = None
3131

3232
def status(self) -> DeviceStatus:

0 commit comments

Comments
 (0)