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

Deprecated: async_forward_entry_setup #64

Open
audiobruce opened this issue Nov 26, 2024 · 2 comments
Open

Deprecated: async_forward_entry_setup #64

audiobruce opened this issue Nov 26, 2024 · 2 comments

Comments

@audiobruce
Copy link

Detected that custom integration 'weatherlink' calls async_forward_entry_setup for integration, weatherlink with title: WeatherLink 001D0A718EFF and entry_id: 039ea8a5d83ede15c485a3c7dcdc5d13, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/weatherlink/init.py, line 168: hass.async_create_task(, please create a bug report at https://github.com/siku2/hass-weatherlink/issues

Detected code that calls async_forward_entry_setup for integration weatherlink with title: WeatherLink 001D0A718EFF and entry_id: 039ea8a5d83ede15c485a3c7dcdc5d13, 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.

@ornative
Copy link

Same issue:

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:324
First occurred: 3:01:29 PM (1 occurrences)
Last logged: 3:01:29 PM
Detected that custom integration 'weatherlink' calls async_forward_entry_setup for integration, weatherlink with title: WeatherLink 001D0A715E67 and entry_id: 38396d29089d21b3fd08ebb15c6be50a, which is deprecated, await async_forward_entry_setups instead at custom_components/weatherlink/init.py, line 168: hass.async_create_task(. This will stop working in Home Assistant 2025.6, please create a bug report at https://github.com/siku2/hass-weatherlink/issues

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:324
First occurred: 3:01:29 PM (1 occurrences)
Last logged: 3:01:29 PM
Detected that custom integration 'weatherlink' calls async_forward_entry_setup for integration, weatherlink with title: WeatherLink 001D0A715E67 and entry_id: 38396d29089d21b3fd08ebb15c6be50a, which is deprecated, await async_forward_entry_setups instead at custom_components/weatherlink/init.py, line 168: hass.async_create_task(. This will stop working in Home Assistant 2025.6, please create a bug report at https://github.com/siku2/hass-weatherlink/issues

@siku2
Copy link
Owner

siku2 commented Dec 18, 2024

Please note that this is not actually an issue yet, it's just a warning that the integration will break around summer next year if it's not updated. I assume by then I will have had the time to update the integration.

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

3 participants