diff --git a/CHANGELOG.md b/CHANGELOG.md index 64a4da6..a276755 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 3.0.30 + +- Fix error message `implicitly supporting turn_on/turn_off` introduced in v2024.2 + ## 3.0.29 - Replaced soon (2025) to get deprecated SUPPORT\_\* constant with ClimateEntityFeature diff --git a/custom_components/aqua_temp/climate.py b/custom_components/aqua_temp/climate.py index d197ec1..b544967 100644 --- a/custom_components/aqua_temp/climate.py +++ b/custom_components/aqua_temp/climate.py @@ -46,7 +46,10 @@ def __init__( super().__init__(entity_description, coordinator, device_code) self._attr_supported_features = ( - ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE + ClimateEntityFeature.TURN_OFF + | ClimateEntityFeature.TURN_ON + | ClimateEntityFeature.TARGET_TEMPERATURE + | ClimateEntityFeature.FAN_MODE ) self._attr_fan_modes = list(coordinator.get_fan_modes(device_code)) self._attr_hvac_modes = list(coordinator.get_hvac_modes(device_code)) diff --git a/custom_components/aqua_temp/manifest.json b/custom_components/aqua_temp/manifest.json index a52916b..848611b 100644 --- a/custom_components/aqua_temp/manifest.json +++ b/custom_components/aqua_temp/manifest.json @@ -8,5 +8,5 @@ "iot_class": "cloud_polling", "issue_tracker": "https://github.com/radical-squared/aquatemp/issues", "requirements": [], - "version": "3.0.29" + "version": "3.0.30" }