diff --git a/README.md b/README.md index 5470006..89a32ca 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,8 @@ Use the standard `climate` service calls to control or automate each unit. Avail - `climate.set_fan_mode` - `climate.set_hvac_mode` - `climate.set_swing_mode` +- `climate.turn_on` +- `climate.turn_off` Specific support and behavior can vary, depending on the capabilities of your indoor unit. diff --git a/custom_components/kumo/climate.py b/custom_components/kumo/climate.py index 36f6bed..3c5f1d2 100644 --- a/custom_components/kumo/climate.py +++ b/custom_components/kumo/climate.py @@ -155,7 +155,10 @@ def __init__(self, coordinator: KumoDataUpdateCoordinator): self._swing_modes = self._pykumo.get_vane_directions() self._hvac_modes = [HVACMode.OFF, HVACMode.COOL] self._supported_features = ( - ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE + ClimateEntityFeature.TARGET_TEMPERATURE | + ClimateEntityFeature.FAN_MODE | + ClimateEntityFeature.TURN_OFF | + ClimateEntityFeature.TURN_ON ) if self._pykumo.has_dry_mode(): self._hvac_modes.append(HVACMode.DRY)