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

Forwarding setup to config entry platforms #130

Merged
merged 2 commits into from
Jul 11, 2024
Merged

Forwarding setup to config entry platforms #130

merged 2 commits into from
Jul 11, 2024

Conversation

elcajon
Copy link
Contributor

@elcajon elcajon commented Jun 18, 2024

Calling hass.config_entries.async_forward_entry_setup is deprecated and will be removed in Home Assistant 2025.6. Instead, await hass.config_entries.async_forward_entry_setups as it can load multiple platforms at once and is more efficient since it does not require a separate import executor job for each platform.

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

closes #131

@FL550
Copy link
Owner

FL550 commented Jul 7, 2024

Hi, thank you very much for your PR!

I am quite busy for the moment, so I have no time to test your changes. I'll will look into this as soon as possible. This will probably be next week.

Best regards

Copy link

@bbr111 bbr111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested local and works

@FL550 FL550 merged commit c078d06 into FL550:master Jul 11, 2024
@FL550
Copy link
Owner

FL550 commented Jul 11, 2024

Thanks for your feedback!

@elcajon elcajon deleted the elcajon-p1 branch July 11, 2024 08:49
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.

awaiting async_forward_entry_setup will stop in HA 2025.1
3 participants