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

Deprecation warning about config_entry in the logs #520

Closed
bourquep opened this issue Dec 23, 2024 · 0 comments · Fixed by #521
Closed

Deprecation warning about config_entry in the logs #520

bourquep opened this issue Dec 23, 2024 · 0 comments · Fixed by #521

Comments

@bourquep
Copy link

Version of the custom_component

2024.10.2

Configuration

CleanShot 2024-12-23 at 09 43 44@2x

Describe the bug

I'm seeing this in the HA logs for the Hilo integration:

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:324
First occurred: 9:23:42 AM (1 occurrences)
Last logged: 9:23:42 AM

Detected that custom integration 'hilo' sets option flow config_entry explicitly, which is deprecated at custom_components/hilo/config_flow.py, line 156: self.config_entry = config_entry. This will stop working in Home Assistant 2025.12, please create a bug report at https://github.com/dvd-dev/hilo/issues
ic-dev21 added a commit that referenced this issue Dec 26, 2024
Devrait enlever le warning. Set config_entry implicite.
@ic-dev21 ic-dev21 linked a pull request Dec 26, 2024 that will close this issue
ic-dev21 added a commit that referenced this issue Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants