1
0
mirror of https://github.com/mjg59/python-broadlink.git synced 2024-11-21 22:51:41 +01:00

Fix RM4 command header (#412)

This commit is contained in:
Felipe Martins Diel 2020-09-06 05:50:57 -03:00 committed by GitHub
parent 8167736588
commit e59d4a6875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)