File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
plugwise_usb/nodes/helpers Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -291,10 +291,9 @@ def update_pulse_counter(
291291 and self ._pulses_consumption > pulses_consumed
292292 ):
293293 self ._cons_pulsecounter_reset = True
294- _LOGGER .debug ("update_pulse_counter | consumption pulses reset" )
295294 self ._last_hourly_reset = timestamp
296295 _LOGGER .debug (
297- "update_pulse_counter | hourly_reset_time=%s" ,
296+ "update_pulse_counter | consumption pulses reset | hourly_reset_time=%s" ,
298297 self ._last_hourly_reset ,
299298 )
300299
@@ -303,7 +302,10 @@ def update_pulse_counter(
303302 and self ._pulses_production < pulses_produced
304303 ):
305304 self ._prod_pulsecounter_reset = True
306-
305+ _LOGGER .debug (
306+ "update_pulse_counter | production pulses reset | hourly_reset_time=%s" ,
307+ self ._last_hourly_reset ,
308+ )
307309 # No rollover based on time, check rollover based on counter reset
308310 # Required for special cases like nodes which have been powered off for several days
309311 if not (self ._rollover_consumption or self ._rollover_production ):
You can’t perform that action at this time.
0 commit comments