Skip to content

Commit

Permalink
fix from_knx for MemoryExtendedWrite
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin GROSS committed Dec 2, 2023
1 parent 3368877 commit 7a42f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xknx/telegram/apci.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ def calculated_length(self) -> int:
@classmethod
def from_knx(cls, raw: bytes) -> MemoryExtendedWrite:
"""Parse/deserialize from KNX/IP raw data."""
size = len(raw) - 5
size = len(raw) - 6

# inject [0x00] before 3 bytes address to enable unsigned int unpack
count, address, data = struct.unpack(
Expand Down

0 comments on commit 7a42f20

Please sign in to comment.