We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e44f71 commit 1ef9eecCopy full SHA for 1ef9eec
broadlink/climate.py
@@ -383,7 +383,7 @@ def get_ac_info(self) -> dict:
383
384
Returns:
385
dict:
386
- state (bool): power
+ power (bool): power
387
ambient_temp (float): ambient temperature
388
"""
389
resp = self._send(2)
@@ -393,7 +393,7 @@ def get_ac_info(self) -> dict:
393
logging.debug("Received resp:\n%s", resp.hex(' '))
394
395
ac_info = {}
396
- ac_info["state"] = resp[0x1] & 1
+ ac_info["power"] = resp[0x1] & 1
397
398
ambient_temp = resp[0x5] & 0b11111, resp[0x15] & 0b11111
399
if any(ambient_temp):
0 commit comments