Skip to content

Commit c9ad42a

Browse files
committed
Improve CircleEnergyLogsResponse logging
1 parent 3f4e8bc commit c9ad42a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ async def energy_log_update(self, address: int | None) -> bool:
496496
)
497497
return False
498498

499+
_LOGGER.debug("EnergyLogs data from %s", address)
499500
await self._available_update_state(True, response.timestamp)
500501
energy_record_update = False
501502

@@ -505,7 +506,7 @@ async def energy_log_update(self, address: int | None) -> bool:
505506
for _slot in range(4, 0, -1):
506507
log_timestamp, log_pulses = response.log_data[_slot]
507508
_LOGGER.debug(
508-
"Energy data from slot=%s: pulses=%s, timestamp=%s",
509+
"In slot=%s: pulses=%s, timestamp=%s",
509510
_slot,
510511
log_pulses,
511512
log_timestamp

0 commit comments

Comments
 (0)