diff --git a/broadlink/climate.py b/broadlink/climate.py index 3fe35f6a..b6c95898 100644 --- a/broadlink/climate.py +++ b/broadlink/climate.py @@ -386,7 +386,7 @@ def get_ac_info(self) -> dict: Returns: dict: - state (bool): power + power (bool): power ambient_temp (float): ambient temperature """ resp = self._send(2) @@ -396,7 +396,7 @@ def get_ac_info(self) -> dict: logging.debug("Received resp:\n%s", resp.hex(' ')) ac_info = {} - ac_info["state"] = resp[0x1] & 1 + ac_info["power"] = resp[0x1] & 1 ambient_temp = resp[0x5] & 0b11111, resp[0x15] & 0b11111 if any(ambient_temp):