File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
plugwise_usb/nodes/helpers Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -248,6 +248,10 @@ def _collect_pulses_from_logs(
248248 )
249249 return None
250250 if from_timestamp > self ._last_log_consumption_timestamp :
251+ _LOGGER .debug (
252+ "_collect_pulses_from_logs | %s | rollover to new consumption interval | log_pulses=0" ,
253+ self ._mac ,
254+ )
251255 return (0 , True )
252256 else :
253257 if self ._last_log_production_timestamp is None :
@@ -257,6 +261,10 @@ def _collect_pulses_from_logs(
257261 )
258262 return None
259263 if from_timestamp > self ._last_log_production_timestamp :
264+ _LOGGER .debug (
265+ "_collect_pulses_from_logs | %s | rollover to new production interval | log_pulses=0" ,
266+ self ._mac ,
267+ )
260268 return (0 , True )
261269
262270 missing_logs = self ._logs_missing (from_timestamp )
You can’t perform that action at this time.
0 commit comments