We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 429cf36 commit 9676a39Copy full SHA for 9676a39
2 files changed
plugwise_usb/nodes/helpers/firmware.py
@@ -156,6 +156,7 @@ class SupportedVersions(NamedTuple):
156
FEATURE_SUPPORTED_AT_FIRMWARE: Final = {
157
NodeFeature.BATTERY: 2.0,
158
NodeFeature.INFO: 2.0,
159
+ NodeFeature.SENSE: 2.0,
160
NodeFeature.TEMPERATURE: 2.0,
161
NodeFeature.HUMIDITY: 2.0,
162
NodeFeature.ENERGY: 2.0,
plugwise_usb/nodes/sense.py
@@ -57,11 +57,11 @@ async def load(self) -> bool:
57
await self._load_from_cache()
58
else:
59
self._load_defaults()
60
+ self._loaded = True
61
self._setup_protocol(
62
SENSE_FIRMWARE_SUPPORT,
63
(NodeFeature.INFO, NodeFeature.SENSE),
64
)
- self._loaded = True
65
if await self.initialize():
66
await self._loaded_callback(NodeEvent.LOADED, self.mac)
67
return True
0 commit comments