mirror of
https://github.com/home-assistant/core.git
synced 2025-12-20 02:48:57 +00:00
Actron Air Integration: Fix fan mode mapping and update actron-neo-api requirement (#159195)
This commit is contained in:
@@ -148,7 +148,7 @@ class ActronSystemClimate(BaseClimateEntity):
|
|||||||
@property
|
@property
|
||||||
def fan_mode(self) -> str | None:
|
def fan_mode(self) -> str | None:
|
||||||
"""Return the current fan mode."""
|
"""Return the current fan mode."""
|
||||||
fan_mode = self._status.user_aircon_settings.fan_mode
|
fan_mode = self._status.user_aircon_settings.base_fan_mode
|
||||||
return FAN_MODE_MAPPING_ACTRONAIR_TO_HA.get(fan_mode)
|
return FAN_MODE_MAPPING_ACTRONAIR_TO_HA.get(fan_mode)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
@@ -13,5 +13,5 @@
|
|||||||
"integration_type": "hub",
|
"integration_type": "hub",
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"quality_scale": "bronze",
|
"quality_scale": "bronze",
|
||||||
"requirements": ["actron-neo-api==0.2.0"]
|
"requirements": ["actron-neo-api==0.4.1"]
|
||||||
}
|
}
|
||||||
|
|||||||
2
requirements_all.txt
generated
2
requirements_all.txt
generated
@@ -133,7 +133,7 @@ WSDiscovery==2.1.2
|
|||||||
accuweather==4.2.2
|
accuweather==4.2.2
|
||||||
|
|
||||||
# homeassistant.components.actron_air
|
# homeassistant.components.actron_air
|
||||||
actron-neo-api==0.2.0
|
actron-neo-api==0.4.1
|
||||||
|
|
||||||
# homeassistant.components.adax
|
# homeassistant.components.adax
|
||||||
adax==0.4.0
|
adax==0.4.0
|
||||||
|
|||||||
2
requirements_test_all.txt
generated
2
requirements_test_all.txt
generated
@@ -124,7 +124,7 @@ WSDiscovery==2.1.2
|
|||||||
accuweather==4.2.2
|
accuweather==4.2.2
|
||||||
|
|
||||||
# homeassistant.components.actron_air
|
# homeassistant.components.actron_air
|
||||||
actron-neo-api==0.2.0
|
actron-neo-api==0.4.1
|
||||||
|
|
||||||
# homeassistant.components.adax
|
# homeassistant.components.adax
|
||||||
adax==0.4.0
|
adax==0.4.0
|
||||||
|
|||||||
Reference in New Issue
Block a user