From 46f3d92ad017f71a9f6ab40981774f566fc7dfa5 Mon Sep 17 00:00:00 2001 From: Jack Simbach Date: Sat, 4 May 2024 17:12:21 -0400 Subject: [PATCH] - updated the climate support for new flags introduced in 2024.2.0 --- custom_components/ge_home/entities/common/ge_climate.py | 7 ++++++- hacs.json | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/custom_components/ge_home/entities/common/ge_climate.py b/custom_components/ge_home/entities/common/ge_climate.py index e2f40dc..1487caf 100644 --- a/custom_components/ge_home/entities/common/ge_climate.py +++ b/custom_components/ge_home/entities/common/ge_climate.py @@ -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)""" diff --git a/hacs.json b/hacs.json index fa75f45..8ae196d 100644 --- a/hacs.json +++ b/hacs.json @@ -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" }