Skip to content

Commit cf93af1

Browse files
committed
Fix wrong LogAddr input value
1 parent b47b7b6 commit cf93af1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

plugwise_usb/messages/requests.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from ..constants import (
1313
DAY_IN_MINUTES,
1414
HOUR_IN_MINUTES,
15-
# LOGADDR_OFFSET,
15+
LOGADDR_OFFSET,
1616
MAX_RETRIES,
1717
MESSAGE_FOOTER,
1818
MESSAGE_HEADER,
@@ -765,8 +765,7 @@ def __init__(
765765
if reset:
766766
self._args += [
767767
this_date,
768-
#LogAddr(LOGADDR_OFFSET, 8, False),
769-
String("00044000", 8),
768+
LogAddr(0, 8, False),
770769
this_time,
771770
day_of_week,
772771
]

0 commit comments

Comments
 (0)