Skip to content

Commit

Permalink
Merge pull request #84 from radical-squared/fix-ha-v2024-05-issues
Browse files Browse the repository at this point in the history
Fix StrEnum warning
  • Loading branch information
elad-bar authored May 2, 2024
2 parents cfe8e96 + 2b7e282 commit c995e85
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion custom_components/aqua_temp/common/api_types.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down
2 changes: 1 addition & 1 deletion custom_components/aqua_temp/common/consts.py
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion custom_components/aqua_temp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit c995e85

Please sign in to comment.