Skip to content

Commit c9f25bf

Browse files
committed
Hardcode reset-logaddress
1 parent d82ed88 commit c9f25bf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

plugwise_usb/messages/requests.py

Lines changed: 4 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,
@@ -764,8 +764,9 @@ def __init__(
764764
day_of_week = Int(dt.weekday(), 2)
765765
if reset:
766766
self._args += [
767-
this_date,
768-
LogAddr(LOGADDR_OFFSET, 8, False),
767+
this_date,
768+
#LogAddr(LOGADDR_OFFSET, 8, False),
769+
String("00044000", 8),
769770
this_time,
770771
day_of_week,
771772
]

0 commit comments

Comments
 (0)