We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29a9252 commit cef0b64Copy full SHA for cef0b64
plugwise_usb/nodes/helpers/pulses.py
@@ -278,9 +278,15 @@ def update_pulse_counter(
278
self._pulses_production = pulses_produced
279
280
def _update_rollover(self) -> None:
281
- """Update rollover states. Returns True if rollover is applicable."""
+ """Update rollover states.
282
+
283
+ When the last found timestamp is outside the interval `_last_log_timestamp`
284
+ to `_next_log_timestamp` the pulses should not be counted as part of the
285
+ ongoing collection-interval.
286
+ """
287
if self._log_addresses_missing is not None and self._log_addresses_missing:
288
return
289
290
if (
291
self._pulses_timestamp is None
292
or self._last_log_consumption_timestamp is None
0 commit comments