Skip to content

Commit cacfbe3

Browse files
committed
Try
1 parent d402c3f commit cacfbe3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugwise_usb/nodes/helpers/pulses.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ def collected_pulses(
159159
if not is_consumption and not self._log_production:
160160
return (None, None)
161161

162-
if is_consumption and self._rollover_consumption:
162+
# if is_consumption and self._rollover_consumption:
163163
# consumption-pulses reset every hour - pulses just before rollover are lost?
164-
_LOGGER.debug("collected_pulses 2 | %s | _rollover_consumption", self._mac)
165-
return (None, None)
164+
# _LOGGER.debug("collected_pulses 2 | %s | _rollover_consumption", self._mac)
165+
# return (None, None)
166166
if not is_consumption and self._rollover_production:
167167
# production-pulses do not reset every hour but at the max counter value - double-check
168168
# if this is correct the pulses lost at rollover can be calculated:

0 commit comments

Comments
 (0)