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 Nov 27, 2023
1 parent 0468d92 commit 237da02
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 237da02

Please sign in to comment.