From 008846ba418e5ebebe2fa753f1a230454afa1953 Mon Sep 17 00:00:00 2001 From: Felipe Martins Diel <41558831+felipediel@users.noreply.github.com> Date: Thu, 4 Feb 2021 17:16:17 -0300 Subject: [PATCH] Fix index (#533) --- broadlink/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/broadlink/device.py b/broadlink/device.py index 4a8bc3a..144ceeb 100644 --- a/broadlink/device.py +++ b/broadlink/device.py @@ -161,7 +161,7 @@ class device: payload[0x04:0x14] = [0x31]*16 payload[0x1E] = 0x01 payload[0x2D] = 0x01 - payload[0x30:0x37] = "Test 1".encode() + payload[0x30:0x36] = "Test 1".encode() response = self.send_packet(0x65, payload) check_error(response[0x22:0x24])