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 is deprecated and will stop working in Home Assistant 2025.6 #405

Open
TheGroundZero opened this issue Sep 9, 2024 · 4 comments

Comments

@TheGroundZero
Copy link

Version of the custom_component

0.0.14

Homeassistant version

2024.9.1

Configuration

n/a

Describe the bug

A clear and concise description of what the bug is.

See log below

Debug log

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:184

Detected that custom integration 'nordpool' calls async_forward_entry_setup for integration, nordpool with title: Nordpool and entry_id: 9083666199fff6b9549ce1fe5237b30a, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/nordpool/__init__.py, line 182: hass.async_create_task(, please create a bug report at https://github.com/custom-components/nordpool/issues
@xoferz
Copy link

xoferz commented Sep 9, 2024

For me, it says it stops working in 2025.1
HA 2024.9.1
Nordpool addon 0.0.14

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:151

Detected code that calls async_forward_entry_setup for integration nordpool with title: nordpool and entry_id: ce3f25ea8f6ecb35402c13d1875ae83c, 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.

@ef1970
Copy link

ef1970 commented Sep 19, 2024

I updated to the current pre-release (0.0.15b1) and that seems to have fixed the issue.

@Birdman86
Copy link

Birdman86 commented Sep 28, 2024

@ef1970, Yeah, it did fix that, but it removed all of tomorrows prices...
Rolled back to 0.14 to fix tomorrows prices.

@bj00rn
Copy link
Contributor

bj00rn commented Oct 24, 2024

fixed in #390?

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

5 participants