Switch back to create task for Neato (#37913)

This commit is contained in:
Daniel Shokouhi 2020-07-17 09:29:20 -07:00 committed by GitHub
parent 1dd5a36f5c
commit 6ad794e1f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ async def async_setup_entry(hass, entry):
hass.data[NEATO_LOGIN] = hub
for component in ("camera", "vacuum", "switch", "sensor"):
hass.async_add_job(
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, component)
)