Skip to content

Commit 399738e

Browse files
committed
Implement SENSE_FEATURES constant
1 parent 513ecc9 commit 399738e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

plugwise_usb/nodes/sense.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,7 @@ async def load(self) -> bool:
5252
return True
5353

5454
await super().load()
55-
self._setup_protocol(
56-
SENSE_FIRMWARE_SUPPORT,
57-
(NodeFeature.INFO, NodeFeature.SENSE),
58-
)
55+
self._setup_protocol(SENSE_FIRMWARE_SUPPORT, SENSE_FEATURES)
5956
if await self.initialize():
6057
await self._loaded_callback(NodeEvent.LOADED, self.mac)
6158
return True

0 commit comments

Comments
 (0)