Wait for config entry platform forwards (#73806)
This commit is contained in:
parent
3a5cca3ff2
commit
cd03c49fc2
386 changed files with 528 additions and 557 deletions
|
@ -44,7 +44,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
|
||||
async_cleanup_device_registry(hass=hass, entry=entry)
|
||||
|
||||
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
|
||||
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
||||
entry.async_on_unload(entry.add_update_listener(async_reload_entry))
|
||||
return True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue