From f42c13f0268fd0f9301201f7dff7f8c716202a73 Mon Sep 17 00:00:00 2001 From: Elad Bar Date: Thu, 8 Feb 2024 18:03:36 +0200 Subject: [PATCH] Disable climate backwards compatibility flag --- CHANGELOG.md | 4 ++++ custom_components/aqua_temp/climate.py | 2 ++ custom_components/aqua_temp/manifest.json | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a276755..96081aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 3.0.31 + +- Disable climate backwards compatibility flag + ## 3.0.30 - Fix error message `implicitly supporting turn_on/turn_off` introduced in v2024.2 diff --git a/custom_components/aqua_temp/climate.py b/custom_components/aqua_temp/climate.py index b544967..b6b0dfd 100644 --- a/custom_components/aqua_temp/climate.py +++ b/custom_components/aqua_temp/climate.py @@ -45,6 +45,8 @@ def __init__( """Initialize the climate entity.""" super().__init__(entity_description, coordinator, device_code) + self._enable_turn_on_off_backwards_compatibility = False + self._attr_supported_features = ( ClimateEntityFeature.TURN_OFF | ClimateEntityFeature.TURN_ON diff --git a/custom_components/aqua_temp/manifest.json b/custom_components/aqua_temp/manifest.json index 848611b..420af48 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.30" + "version": "3.0.31" }