Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to enum.StrEnum #1353

Merged
merged 1 commit into from
Jun 7, 2024
Merged

Conversation

jamesonuk
Copy link
Contributor

Motivation:

Just avoiding future deprecation and logging warning of old alias as per https://developers.home-assistant.io/blog/2024/04/08/deprecated-backports-and-typing-aliases/

Changes:

import enum.StrEnum rather than homeassistant.backports.enum.StrEnum

Related issue (check one):

Checklist (check one):

  • I did not change any code (e.g. documentation changes)
  • The code change is tested and works locally.

Test-Hardware list (for code changes)

HA Version: 2024.5.3
Zigbee2MQTT Version: 1.37.1
TRV Hardware: Sonoff TRVs 1.1.5

New device mappings

  • I avoided any changes to other device mappings
  • There are no changes in climate.py

@KartoffelToby KartoffelToby merged commit c2ce063 into KartoffelToby:master Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StrEnum was used from better_thermostat
2 participants