- updated the climate support for new flags introduced in 2024.2.0

This commit is contained in:
Jack Simbach 2024-05-04 17:12:21 -04:00 committed by simbaja
parent db011eada4
commit 46f3d92ad0
2 changed files with 7 additions and 2 deletions

View File

@ -17,7 +17,12 @@ from .options_converter import OptionsConverter
_LOGGER = logging.getLogger(__name__)
#by default, we'll support target temp and fan mode (derived classes can override)
GE_CLIMATE_SUPPORT = ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE
GE_CLIMATE_SUPPORT = (
ClimateEntityFeature.TARGET_TEMPERATURE |
ClimateEntityFeature.FAN_MODE |
ClimateEntityFeature.TURN_ON |
ClimateEntityFeature.TURN_OFF
)
class GeClimate(GeEntity, ClimateEntity):
"""GE Climate Base Entity (Window AC, Portable AC, etc)"""

View File

@ -1,6 +1,6 @@
{
"name": "GE Home (SmartHQ)",
"homeassistant": "2022.12.0",
"homeassistant": "2024.2.0",
"domains": ["binary_sensor", "sensor", "switch", "water_heater", "select", "button", "climate", "light", "number"],
"iot_class": "Cloud Polling"
}