Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
revert some things
Browse files Browse the repository at this point in the history
  • Loading branch information
Karman de Lange committed Feb 13, 2021
1 parent 20643c1 commit 466d421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion broadlink_ac_mqtt/classes/broadlink/ac_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 466d421

Please sign in to comment.