Skip to content
New issue

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

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

Already on GitHub? # to your account

fix deprecation warnings for alarm states #138

Closed
wants to merge 1 commit into from

Conversation

uvera
Copy link

@uvera uvera commented Nov 15, 2024

We're getting some deprecation warnings for HA 2025 since this commit

home-assistant/core@cdfec7e#diff-dde95b07472f470bc99104567721c422c23102237a015804dceac48df2f05f09

This PR fixes it by using Enum for alarm states instead of consts.

Signed-off-by: Dusan <dusanuveric@protonmail.com>
@petrleocompel petrleocompel self-assigned this Nov 17, 2024
@petrleocompel
Copy link
Owner

Seems fine. I will take care of this on the end of the month as I will have more time. For now it does not affect current users.
But thank you for your time for contribution.

@petrleocompel
Copy link
Owner

petrleocompel commented Dec 9, 2024

Merged manually in dev

  • changed commit message
  • added changelog message

@petrleocompel
Copy link
Owner

Will be released in next v3 beta version

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants