Skip to content

Commit 33d9b2d

Browse files
authored
Merge pull request #129 from plugwise/logger-change
Clean-up _collect_energy_pulses()
2 parents d912472 + 664721b commit 33d9b2d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -422,13 +422,9 @@ def _collect_energy_pulses(self, start_utc: datetime, end_utc: datetime):
422422
if self._energy_history_failed_address.count(_mem_address) == 0:
423423
self._energy_history_failed_address.append(_mem_address)
424424
_LOGGER.info(
425-
"_collect_energy_pulses for %s at %s not found, request counter from memory %s (from mem=%s, slot=%s, timestamp=%s)",
425+
"_collect_energy_pulses for %s at %s not found",
426426
self.mac,
427427
str(_log_timestamp),
428-
str(_mem_address),
429-
str(self._last_log_address),
430-
str(self._energy_last_populated_slot),
431-
str(self._energy_last_collected_timestamp),
432428
)
433429

434430
# Validate all history values where present

0 commit comments

Comments
 (0)