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: Remove deprecated use of config_entry in config_flow #170

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Doorshifter
Copy link

Summary

This PR addresses the deprecation warning caused by the use of self.config_entry: config_entries.ConfigEntry = config_entry in config_flow.py.

Changes

  • Replaced explicit type annotation with self.config_entry = config_entry.
  • Resolves compatibility issues with Home Assistant 2025.12.

Testing

  • Warning no longer appears in logs.
  • Integration functions as expected.

Reference

Replaced deprecated explicit type annotation for config_entry in config_flow.py with a direct assignment.
This resolves deprecation warnings for Home Assistant 2025.12 and maintains compatibility with future versions.
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.

1 participant