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 cb5324a commit 3ba634bCopy full SHA for 3ba634b
plugwise_usb/nodes/circle.py
@@ -521,6 +521,7 @@ async def energy_log_update(self, address: int | None) -> bool:
521
"""Request energy log statistics from node. Returns true if successful."""
522
if address is None:
523
return False
524
+
525
_LOGGER.debug(
526
"Request of energy log at address %s for node %s",
527
str(address),
@@ -570,8 +571,9 @@ async def energy_log_update(self, address: int | None) -> bool:
570
571
"Saving energy record update to cache for %s", self._mac_in_str
572
)
573
await self.save_cache()
574
+ return True
575
- return True
576
+ return False
577
578
async def _energy_log_records_load_from_cache(self) -> bool:
579
"""Load energy_log_record from cache."""
0 commit comments