mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Migrate ambient_station to use async_forward_entry_setups (#86555)
This commit is contained in:
parent
b3c5c6ae9c
commit
c599d1e1f8
@ -179,7 +179,11 @@ class AmbientStation:
|
||||
# attempt forward setup of the config entry (because it will have
|
||||
# already been done):
|
||||
if not self._entry_setup_complete:
|
||||
self._hass.config_entries.async_setup_platforms(self._entry, PLATFORMS)
|
||||
self._hass.async_create_task(
|
||||
self._hass.config_entries.async_forward_entry_setups(
|
||||
self._entry, PLATFORMS
|
||||
)
|
||||
)
|
||||
self._entry_setup_complete = True
|
||||
self._ws_reconnect_delay = DEFAULT_SOCKET_MIN_RETRY
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user