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

Replace deprecated HA async entry setup call with suggestion. #1746

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

estebanz01
Copy link

Hola! 👋

Based on https://developers.home-assistant.io/blog/2024/06/12/async_forward_entry_setups/

It seems it is possible to replace async_forward_entry_setup that requires a call for each supported platform with async_forward_entry_setups instead, which accepts multiple platforms and it should be more efficient, removing the need to also use asyncio.gather.

Just a small PR. Let me know if I'm missing something.

Based on https://developers.home-assistant.io/blog/2024/06/12/async_forward_entry_setups/
it is possible to replace it with `async_forward_entry_setups` instead,
which accepts multiple platforms and it should be more efficient.
@rospogrigio rospogrigio merged commit 87d61ee into rospogrigio:master Jul 29, 2024
2 checks passed
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.

2 participants