mirror of https://github.com/simbaja/ha_gehome.git
- updated the climate support for new flags introduced in 2024.2.0
This commit is contained in:
parent
db011eada4
commit
46f3d92ad0
|
@ -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)"""
|
||||
|
|
Loading…
Reference in New Issue