andrewleech / uhoo-homeassistant

uHoo consumer integration for homeassistant
MIT License
7 stars 2 forks source link

Detected code that calls async_forward_entry_setup for integration uhoo - This will stop working in Home Assistant 2025.1 #7

Open srescio opened 1 month ago

srescio commented 1 month ago

Version of the custom_component

0.0.5

Configuration

Add your logs here.

Describe the bug

During component setup HomeAssistant prints a log warning claiming a currently used functionality is going to stop working in january 2025

Debug log


2024-10-24 22:46:30.875 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration uhoo with title: *****.****@****.com 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.
srescio commented 1 month ago

better to do requested changes before it breaks 😅