Skip to content

Commit 2aa7206

Browse files
committed
Remove debug-logging for testing
1 parent 9b21241 commit 2aa7206

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

plugwise_usb/nodes/helpers/counter.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,6 @@ def update(
283283
if self._energy_id in ENERGY_HOUR_COUNTERS:
284284
last_reset = last_reset.replace(minute=0, second=0, microsecond=0)
285285
if self._energy_id in ENERGY_DAY_COUNTERS:
286-
reset: bool = pulse_collection.pulse_counter_reset
287-
_LOGGER.debug("energycounter_update | last reset hour=%s", last_reset.hour)
288-
_LOGGER.debug(
289-
"energycounter_update | pulse_counter_reset=%s, midnight_reset_passed=%s",
290-
reset,
291-
self._midnight_reset_passed,
292-
)
293286
# Postpone the last_reset time-changes at day-end until a device pulsecounter resets
294287
if last_reset.hour == 0 and (
295288
not pulse_collection.pulse_counter_reset

0 commit comments

Comments
 (0)