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