From e59d4a6875542ea911268a60b3604aaf539124a6 Mon Sep 17 00:00:00 2001 From: Felipe Martins Diel <41558831+felipediel@users.noreply.github.com> Date: Sun, 6 Sep 2020 05:50:57 -0300 Subject: [PATCH] Fix RM4 command header (#412) --- broadlink/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/broadlink/__init__.py b/broadlink/__init__.py index 8cf74d4..61e9471 100644 --- a/broadlink/__init__.py +++ b/broadlink/__init__.py @@ -704,7 +704,7 @@ class rm4(rm): device.__init__(self, *args, **kwargs) self.type = "RM4" self._request_header = b'\x04\x00' - self._code_sending_header = b'\xd0\x00' + self._code_sending_header = b'\xda\x00' def check_temperature(self): data = self._check_sensors(0x24)