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

Integration sets config_entry directly [deprecation warning] #2058

Closed
z-master42 opened this issue Dec 12, 2024 · 2 comments
Closed

Integration sets config_entry directly [deprecation warning] #2058

z-master42 opened this issue Dec 12, 2024 · 2 comments

Comments

@z-master42
Copy link
Contributor

Logger: homeassistant.helpers.frame
Quelle: helpers/frame.py:324
Erstmals aufgetreten: 18:40:24 (1 Vorkommnisse)
Zuletzt protokolliert: 18:40:24

Detected that custom integration 'xiaomi_miot' sets option flow config_entry explicitly, which is deprecated at custom_components/xiaomi_miot/config_flow.py, line 589: self.config_entry = config_entry. This will stop working in Home Assistant 2025.12
@al-one
Copy link
Owner

al-one commented Dec 13, 2024

Fixed in 1.0.4

@al-one al-one closed this as completed Dec 13, 2024
@z-master42
Copy link
Contributor Author

@al-one That's not true. I have tried it out. According to my reading, your code change only causes self.config_entry to be used explicitly for HA >= 2024.12.

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 a pull request may close this issue.

2 participants