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

fix deprecation warnings for alarm states #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
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.

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.

2 participants