Skip to content

Commit 9c4fefb

Browse files
committed
Fixes
1 parent 7b15e36 commit 9c4fefb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugwise_usb/nodes/helpers/pulses.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
_LOGGER = logging.getLogger(__name__)
1414
CONSUMED: Final = True
1515
PRODUCED: Final = False
16-
PRODUCERS: tuple[str] = ("000D6F00029C32C7")
16+
PRODUCERS: tuple[str] = ("000D6F00029C32C7", "dummy")
1717

1818
MAX_LOG_HOURS = WEEK_IN_HOURS
1919

@@ -333,7 +333,6 @@ def _update_rollover(self, consumption: bool) -> None:
333333
if self._rollover_production:
334334
_LOGGER.debug("_update_rollover | %s | reset production rollover", self._mac)
335335
self._rollover_production = False
336-
return
337336

338337
def add_empty_log(self, address: int, slot: int) -> None:
339338
"""Add empty energy log record to mark any start of beginning of energy log collection."""

0 commit comments

Comments
 (0)