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 fe96f99 commit 026d11cCopy full SHA for 026d11c
plugwise_usb/nodes/circle.py
@@ -508,7 +508,7 @@ async def energy_log_update(self, address: int | None) -> bool:
508
for _slot in range(4, 0, -1):
509
log_timestamp, log_pulses = response.log_data[_slot]
510
_LOGGER.debug(
511
- "Energy data from slot=%s: pulses=%s, timestamp=%s",
+ "In slot=%s: pulses=%s, timestamp=%s",
512
_slot,
513
log_pulses,
514
log_timestamp
@@ -523,9 +523,11 @@ async def energy_log_update(self, address: int | None) -> bool:
523
import_only=True,
524
):
525
energy_record_update = True
526
+
527
self._energy_counters.update()
528
if energy_record_update:
529
await self.save_cache()
530
531
return True
532
533
async def _energy_log_records_load_from_cache(self) -> bool:
0 commit comments