mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 22:24:15 +01:00
fixed offset in berry driver for new msg format
This commit is contained in:
@@ -27,7 +27,7 @@ header = binascii.unhexlify('55BB')
|
||||
|
||||
print("length:", len(value))
|
||||
|
||||
length = len(value).to_bytes(1, 'little')
|
||||
length = len(value).to_bytes(2, 'little')
|
||||
|
||||
bytes_payload = header + length + payload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user