mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Switch back to create task for Neato (#37913)
This commit is contained in:
@@ -108,7 +108,7 @@ async def async_setup_entry(hass, entry):
|
|||||||
hass.data[NEATO_LOGIN] = hub
|
hass.data[NEATO_LOGIN] = hub
|
||||||
|
|
||||||
for component in ("camera", "vacuum", "switch", "sensor"):
|
for component in ("camera", "vacuum", "switch", "sensor"):
|
||||||
hass.async_add_job(
|
hass.async_create_task(
|
||||||
hass.config_entries.async_forward_entry_setup(entry, component)
|
hass.config_entries.async_forward_entry_setup(entry, component)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user