FL550 / dwd_weather

Deutscher Wetterdienst integration for Home-Assistant
MIT License
157 stars 11 forks source link

awaiting async_forward_entry_setup will stop in HA 2025.1 #131

Closed gt026328 closed 3 days ago

gt026328 commented 2 weeks ago

Version of home_assistant

Version of the custom_component

Describe the bug

A clear and concise description of what the bug or error is and when it happens.

Debug log


Add your logs here.
WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'dwd_weather' calls async_forward_entry_setup for integration, dwd_weather with title: P0262: Wolfratshausen and entry_id: ce3d7304f9b4697f691373ee5e0a9a25, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/dwd_weather/__init__.py, line 84: hass.async_create_task(, please create a bug report at https://github.com/FL550/dwd_weather/issues
2024-06-27 08:04:02.512 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration dwd_weather with title: P0262: Wolfratshausen and entry_id: ce3d7304f9b4697f691373ee5e0a9a25, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
elcajon commented 2 weeks ago

130

heinemannj commented 1 week ago

I'm available for beta testing too ..