File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,7 @@ class SupportedVersions(NamedTuple):
156156FEATURE_SUPPORTED_AT_FIRMWARE : Final = {
157157 NodeFeature .BATTERY : 2.0 ,
158158 NodeFeature .INFO : 2.0 ,
159+ NodeFeature .SENSE : 2.0 ,
159160 NodeFeature .TEMPERATURE : 2.0 ,
160161 NodeFeature .HUMIDITY : 2.0 ,
161162 NodeFeature .ENERGY : 2.0 ,
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ async def load(self) -> bool:
5757 await self ._load_from_cache ()
5858 else :
5959 self ._load_defaults ()
60+ self ._loaded = True
6061 self ._setup_protocol (
6162 SENSE_FIRMWARE_SUPPORT ,
6263 (NodeFeature .INFO , NodeFeature .SENSE ),
6364 )
64- self ._loaded = True
6565 if await self .initialize ():
6666 await self ._loaded_callback (NodeEvent .LOADED , self .mac )
6767 return True
You can’t perform that action at this time.
0 commit comments