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

async_forward_entry_setup warning #25

Closed
bdunn44 opened this issue Aug 26, 2024 · 1 comment
Closed

async_forward_entry_setup warning #25

bdunn44 opened this issue Aug 26, 2024 · 1 comment

Comments

@bdunn44
Copy link
Owner

bdunn44 commented Aug 26, 2024

Log message from Home Assistant:

Detected code that calls async_forward_entry_setup for integration jellyfish_lighting 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.
@markus99
Copy link

Thx for 1.3 - as mentioned, seeing these now in my logs after 1.3 installation and subsequent restart:

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:184
First occurred: 11:28:06 AM (1 occurrences)
Last logged: 11:28:06 AM

Detected that custom integration 'jellyfish_lighting' calls async_forward_entry_setup for integration, jellyfish_lighting with title: Jellyfish XXX (JellyFish-####local) and entry_id: 02ada2676a7b9600b97dee2db107aa22, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/jellyfish_lighting/__init__.py, line 76: hass.async_create_task(hass.config_entries.async_forward_entry_setup(entry, LIGHT)), please create a bug report at https://github.com/bdunn44/hass-jellyfish-lighting/issues

and

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:151
First occurred: 11:28:07 AM (1 occurrences)
Last logged: 11:28:07 AM

Detected code that calls async_forward_entry_setup for integration jellyfish_lighting with title: Jellyfish XXXX (JellyFish-####.local) and entry_id: 02ada2676a7b9600b97dee2db107aa22, 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.

bdunn44 added a commit that referenced this issue Aug 26, 2024
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

No branches or pull requests

2 participants