sanjoyg / dirigera_platform

HomeAssistant Integration for Dirigera Platform
MIT License
122 stars 16 forks source link

Forwarding setup to config entry platforms #66

Closed Tony763 closed 3 months ago

Tony763 commented 3 months ago

Hello, freshly updated HA 2024.8.2 yield following deprecation notice into log:

2024-08-23 22:17:40.824 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration dirigera_platform with title: IKEA Dirigera Hub : 10.xxx.xxx.xxx and entry_id: xxxxxxxxxxxxxxxxx, 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.

Dev post: https://developers.home-assistant.io/blog/2024/06/12/async_forward_entry_setups/ Similar PR: https://github.com/slashback100/presence_simulation/commit/df872a21f1af560be78aeb9e9277f2317857ae55