We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 399738e commit 023bce3Copy full SHA for 023bce3
1 file changed
plugwise_usb/nodes/sense.py
@@ -51,11 +51,14 @@ async def load(self) -> bool:
51
if self._loaded:
52
return True
53
54
- await super().load()
+ if not await super().load():
55
+ return False
56
+
57
self._setup_protocol(SENSE_FIRMWARE_SUPPORT, SENSE_FEATURES)
58
if await self.initialize():
59
await self._loaded_callback(NodeEvent.LOADED, self.mac)
60
61
62
_LOGGER.debug("Loading of Sense node %s failed", self._node_info.mac)
63
return False
64
0 commit comments