Launch stability fixes

This commit is contained in:
2022-07-28 13:48:37 +00:00
parent b211b7f884
commit a641617671
9 changed files with 526 additions and 407 deletions

View File

@@ -26,7 +26,9 @@ async def async_setup(hass, config):
async def async_setup_entry(hass, config_entry):
for domain in ["sensor", "binary_sensor", "light", "media_player", "camera"]:
await hass.config_entries.async_forward_entry_setup(config_entry, domain)
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(config_entry, domain)
)
await async_setup_connection(hass)
await async_setup_view(hass)