TobiasLaross / Hass-Lynk-Co

Home Assistant integration for Lynk & Co
MIT License
37 stars 1 forks source link

Deprecated use of async_forward_entry_setup #51

Closed fnordpojk closed 6 days ago

fnordpojk commented 2 months ago

2024.9.0 tells me:

"Detected that custom integration 'lynkco' calls async_forward_entry_setup for integration, lynkco with title: Lynk & Co and entry_id: xyz, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/lynkco/init.py, line 354: hass.async_create_task("

Seems to be this: https://developers.home-assistant.io/blog/2024/06/12/async_forward_entry_setups

kwertie01 commented 1 week ago

It seems that a second error message has appeared in the newer versions of HA regards the same async_forward_entry_setup, but more importantly the date that it will stop working is now 2025.1 which means it stops working in one and a half month.

Detected code that calls async_forward_entry_setup for integration lynkco with title: Lynk & Co and entry_id: xxxxxxxxx, 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.

TobiasLaross commented 1 week ago

Then it is about time to get it fixed, I will prioritize it