We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b79b5e commit d615f4bCopy full SHA for d615f4b
plugwise_usb/messages/requests.py
@@ -397,8 +397,9 @@ def serialize(self) -> bytes:
397
# key, byte
398
# network info.index, ulong
399
# network key = 0
400
- args = b"00000000000000000000"
401
- msg: bytes = self._identifier + args
+ special_id = b"0001" # observed sequence with retries: b"0000", b"0001", B"0101"
+ args = b"0000000000000000"
402
+ msg: bytes = self._identifier + special_id + args
403
if self._mac is not None:
404
msg += self._mac
405
checksum = self.calculate_checksum(msg)
0 commit comments