Skip to content

Deprecated function: async_forward_entry_setup #24

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

Open
scannifn opened this issue Jan 20, 2025 · 3 comments
Open

Deprecated function: async_forward_entry_setup #24

scannifn opened this issue Jan 20, 2025 · 3 comments

Comments

@scannifn
Copy link

scannifn commented Jan 20, 2025

I have an alert in HA 2025.1.2:
Detected that custom integration 'hekr' calls async_forward_entry_setup for integration, hekr, which is deprecated, await async_forward_entry_setups instead at custom_components/hekr/hekr_data.py, line 249.

Now is:

self.hass.async_create_task(
    self.hass.config_entries.async_forward_entry_setup(config_entry, entity_domain)
)

This will stop working in Home Assistant 2025.6

Thanks in avance for fixing it.

@Telectroboy
Copy link
Contributor

Hello, it seems to be here :

self.hass.config_entries.async_forward_entry_setup(config_entry, entity_domain)

@Telectroboy
Copy link
Contributor

@Telectroboy
Copy link
Contributor

I tried a pull request :
#26

If someone can test it PLEASE :)

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

No branches or pull requests

2 participants