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 175dc10 commit 01a8ec0Copy full SHA for 01a8ec0
plugwise_usb/nodes/helpers/pulses.py
@@ -275,12 +275,15 @@ def update_pulse_counter(
275
self._pulses_consumption is not None
276
and self._pulses_consumption > pulses_consumed
277
):
278
+ _LOGGER.debug("update_pulse_counter | rollover consumption")
279
self._rollover_consumption = True
280
if (
281
self._pulses_production is not None
282
and self._pulses_production < pulses_produced
283
284
+ _LOGGER.debug("update_pulse_counter | rollover production")
285
self._rollover_production = True
286
+
287
self._pulses_consumption = pulses_consumed
288
self._pulses_production = pulses_produced
289
0 commit comments