diff --git a/CHANGELOG.md b/CHANGELOG.md index 96081aa..a632249 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 3.0.32 + +- Fix warning - StrEnum is a deprecated alias which will be removed in HA Core 2025.5. Use enum.StrEnum instead + ## 3.0.31 - Disable climate backwards compatibility flag diff --git a/custom_components/aqua_temp/common/api_types.py b/custom_components/aqua_temp/common/api_types.py index a7272c4..2775868 100644 --- a/custom_components/aqua_temp/common/api_types.py +++ b/custom_components/aqua_temp/common/api_types.py @@ -1,6 +1,7 @@ +from enum import StrEnum + from custom_components.aqua_temp.common.consts import PRODUCT_IDS from custom_components.aqua_temp.common.endpoints import Endpoints -from homeassistant.backports.enum import StrEnum class APIParam(StrEnum): diff --git a/custom_components/aqua_temp/common/consts.py b/custom_components/aqua_temp/common/consts.py index 72a0035..f355a59 100644 --- a/custom_components/aqua_temp/common/consts.py +++ b/custom_components/aqua_temp/common/consts.py @@ -1,6 +1,6 @@ from datetime import timedelta +from enum import StrEnum -from homeassistant.backports.enum import StrEnum from homeassistant.components.climate.const import FAN_AUTO, FAN_LOW, HVACMode DOMAIN = "aqua_temp" diff --git a/custom_components/aqua_temp/manifest.json b/custom_components/aqua_temp/manifest.json index 420af48..adcaf80 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.31" + "version": "3.0.32" }