diff --git a/README.md b/README.md index 89a32ca..7c721c5 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,6 @@ 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 9864441..1425d4c 100644 --- a/custom_components/kumo/climate.py +++ b/custom_components/kumo/climate.py @@ -155,8 +155,7 @@ def __init__(self, coordinator: KumoDataUpdateCoordinator): self._supported_features = ( ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE | - ClimateEntityFeature.TURN_OFF | - ClimateEntityFeature.TURN_ON + ClimateEntityFeature.TURN_OFF ) if self._pykumo.has_dry_mode(): self._hvac_modes.append(HVACMode.DRY) @@ -530,13 +529,6 @@ def set_fan_mode(self, fan_mode): response = self._pykumo.set_fan_speed(fan_mode) _LOGGER.debug("Kumo %s set fan speed response: %s", self._name, response) - def turn_on(self) -> None: - """Turn the climate on. This implements https://www.home-assistant.io/integrations/climate/#action-climateturn_on. - - For now, turn it on to HVACMode.COOL which always exists in self._hvac_modes. - In the future, make the default "on" mode configurable.""" - self.set_hvac_mode(HVACMode.COOL, caller="turn_on") - def turn_off(self): """Turn the climate off. This implements https://www.home-assistant.io/integrations/climate/#action-climateturn_off.""" self.set_hvac_mode(HVACMode.OFF, caller="turn_off")