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 b711a58 commit 524db1cCopy full SHA for 524db1c
plugwise_usb/nodes/helpers/pulses.py
@@ -7,15 +7,15 @@
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
PRODUCERS: tuple[str] = ("000D6F00029C32C7", "0098765432101234", "dummy")
17
18
-MAX_LOG_HOURS = WEEK_IN_HOURS
+MAX_LOG_HOURS = DAY_IN_HOURS
19
20
21
def calc_log_address(address: int, slot: int, offset: int) -> tuple[int, int]:
0 commit comments