Hive-Custom-Component icon indicating copy to clipboard operation
Hive-Custom-Component copied to clipboard

HA Warning: async_forward_entry_setup lock issue

Open ProphetOfDoom opened this issue 1 year ago • 3 comments

Describe the bug async_forward_entry_setup can cause the setup lock to be released before the setup is done and will stop working in HA 2025.1

To Reproduce Start/Restart Home Assistant Check system log

Expected behaviour Warning should not appear

Screenshots HA Version Info:

Screenshot 2024-07-17 163141

Desktop (please complete the following information): N/A

Additional context System log entry:

Logger: homeassistant.helpers.frame Source: helpers/frame.py:151 First occurred: 16:06:49 (5 occurrences) Last logged: 16:06:49

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

ProphetOfDoom avatar Jul 18 '24 17:07 ProphetOfDoom

Has there been any news or feedback on this issue? 2025.1 releases tomorrow I believe, so knowing if that will break this integration would be good to know in advance.

Nuuki9 avatar Jan 02 '25 10:01 Nuuki9

Has there been any news or feedback on this issue? 2025.1 releases tomorrow I believe, so knowing if that will break this integration would be good to know in advance.

As the person who originally raised this issue, it's only fair that I point out that I have since swapped back to using the HA Hive Integration as it had a major upgrade a few months ago and now gives me all the info I felt was lacking.

ProphetOfDoom avatar Jan 02 '25 14:01 ProphetOfDoom

Good to know. I'm incredibly grateful for the work of the project owner (and all custom integrations), but if the core integration has addressed some of the original gaps then using that would be ideal.

Nuuki9 avatar Jan 02 '25 20:01 Nuuki9