Skip to content

Commit 9d44992

Browse files
committed
Update length
1 parent 5aefb99 commit 9d44992

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugwise_usb/messages/responses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,9 +1032,9 @@ def get_message_object( # noqa: C901 PLR0911 PLR0912
10321032

10331033
# 0011 has two formats
10341034
if identifier == b"0011":
1035-
if length == 20:
1035+
if length == 36:
10361036
return StickInitShortResponse()
1037-
if length == 42:
1037+
if length == 60:
10381038
return StickInitResponse()
10391039
return None
10401040

0 commit comments

Comments
 (0)