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

Options flow fix & min version bump #70

Merged
merged 4 commits into from
Jan 27, 2025

Conversation

andrew-codechimp
Copy link
Contributor

@andrew-codechimp andrew-codechimp commented Jan 27, 2025

With Home Assistant 2024.12 they have changed the options flow handler and deprecated the way it works currently.
If you open Configure on the device it will issue a warning in the log (due to be removed 2025.12).

This PR changes it to the new method, bumps the min version and also adds some checking to throw a message if the min version is not high enough. I use this checking in my own custom integrations and have seen it used elsewhere so a fairly established pattern.

Fixes #69

Copy link
Owner

@megakid megakid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@megakid
Copy link
Owner

megakid commented Jan 27, 2025

Thanks!

@megakid megakid merged commit 7f631e9 into megakid:main Jan 27, 2025
@andrew-codechimp andrew-codechimp deleted the options-flow-fix branch January 27, 2025 13:26
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.

Detected that custom integration 'hildebrand_glow_ihd' sets option flow config_entry explicitly
2 participants