From 466d421b1b058812deb3918e12f994511ca58252 Mon Sep 17 00:00:00 2001 From: Karman de Lange Date: Sat, 13 Feb 2021 16:02:05 +0000 Subject: [PATCH] revert some things --- broadlink_ac_mqtt/classes/broadlink/ac_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/broadlink_ac_mqtt/classes/broadlink/ac_db.py b/broadlink_ac_mqtt/classes/broadlink/ac_db.py index 71509f6..edffda1 100644 --- a/broadlink_ac_mqtt/classes/broadlink/ac_db.py +++ b/broadlink_ac_mqtt/classes/broadlink/ac_db.py @@ -579,7 +579,7 @@ def get_ac_info(self): self.logger.debug ("AcInfo: " + ' '.join(format(x, '08b') for x in response_payload[9:] ) ) - if len(response_payload) < 20: ##Hack for some invalid packets. should get proper length at some point. #54 + if len(response_payload) < 40: ##Hack for some invalid packets. should get proper length at some point. #54 self.logger.debug ("AcInfo: Invalid, seems to short?") return 0