jobvk / Home-Assistant-Windcentrale

Provides Home Assistant sensors for multiple wind turbines from the Windcentrale
https://jobvankoeveringe.com/projects/windcentrale/
Apache License 2.0
14 stars 3 forks source link

Fix deprecated async_forward_entry_setup #177

Closed jobvk closed 3 weeks ago

jobvk commented 3 weeks ago

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.

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