Warning: Detected code that calls async_forward_entry_setup
Closed this issue · 4 comments
tjorim commented
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:151
First occurred: 00:28:51 (7 occurrences)
Last logged: 00:30:33
Detected code that calls async_forward_entry_setup for integration recycle_app with title: 7 Gildenstraat, 2470 - Retie and entry_id: c8a3d728c994a46553b6290280963749, 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.
olibos commented
Hello @tjorim ,
Good catch!
It seems there is another issue:
This method is deprecated and will stop working in Home Assistant 2025.6.
Instead, await 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.
I'll patch it on the sametime.
Thank you!
tjorim commented
Ah yes, I seemed to have missed below:
Detected that custom integration 'recycle_app' calls async_forward_entry_setup for integration, recycle_app with title: 7 Gildenstraat, 2470 - Retie and entry_id: c8a3d728c994a46553b6290280963749, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/recycle_app/__init__.py, line 138: hass.async_create_task(, please create a bug report at https://github.com/olibos/HomeAssistant-RecycleApp/issues
olibos commented
tjorim commented
Just tested it out, all good!