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 944e0e3 commit 7437e04Copy full SHA for 7437e04
plugwise_usb/nodes/helpers/pulses.py
@@ -259,7 +259,7 @@ def update_pulse_counter(
259
self._rollover_consumption = True
260
if (
261
self._pulses_production is not None
262
- and self._pulses_production > pulses_produced
+ and self._pulses_production < pulses_produced
263
):
264
self._rollover_production = True
265
self._pulses_consumption = pulses_consumed
0 commit comments