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 8d9b4e4 commit 6ae788eCopy full SHA for 6ae788e
plugwise_usb/nodes/helpers/pulses.py
@@ -7,14 +7,14 @@
7
import logging
8
from typing import Final
9
10
-from ...constants import LOGADDR_MAX, MINUTE_IN_SECONDS, WEEK_IN_HOURS
+from ...constants import LOGADDR_MAX, MINUTE_IN_SECONDS, DAY_IN_HOURS
11
from ...exceptions import EnergyError
12
13
_LOGGER = logging.getLogger(__name__)
14
CONSUMED: Final = True
15
PRODUCED: Final = False
16
17
-MAX_LOG_HOURS = WEEK_IN_HOURS
+MAX_LOG_HOURS = DAY_IN_HOURS
18
19
20
def calc_log_address(address: int, slot: int, offset: int) -> tuple[int, int]:
0 commit comments