Skip to content

Commit 524db1c

Browse files
committed
Lower MAX_LOG_HOURS
1 parent b711a58 commit 524db1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise_usb/nodes/helpers/pulses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
import logging
88
from typing import Final
99

10-
from ...constants import LOGADDR_MAX, MINUTE_IN_SECONDS, WEEK_IN_HOURS
10+
from ...constants import LOGADDR_MAX, MINUTE_IN_SECONDS, DAY_IN_HOURS
1111
from ...exceptions import EnergyError
1212

1313
_LOGGER = logging.getLogger(__name__)
1414
CONSUMED: Final = True
1515
PRODUCED: Final = False
1616
PRODUCERS: tuple[str] = ("000D6F00029C32C7", "0098765432101234", "dummy")
1717

18-
MAX_LOG_HOURS = WEEK_IN_HOURS
18+
MAX_LOG_HOURS = DAY_IN_HOURS
1919

2020

2121
def calc_log_address(address: int, slot: int, offset: int) -> tuple[int, int]:

0 commit comments

Comments
 (0)