We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e3ad65 commit be0d125Copy full SHA for be0d125
plugwise_usb/nodes/node.py
@@ -403,15 +403,18 @@ async def _load_from_cache(self) -> bool:
403
"""Load states from previous cached information. Return True if successful."""
404
if self._loaded:
405
return True
406
+
407
if not await self._load_cache_file():
408
_LOGGER.debug("Node %s failed to load cache file", self.mac)
409
return False
410
411
# Node Info
412
result: bool = await self._node_info_load_from_cache()
413
_LOGGER.debug("_load_from_cache | load node_info | result=%s", result)
414
if not result:
415
_LOGGER.debug("Node %s failed to load node_info from cache", self.mac)
416
417
418
419
420
async def initialize(self) -> None:
0 commit comments