async_create_task (#17059)

* async_create_task

* Update google.py
This commit is contained in:
cdce8p 2018-10-02 11:03:09 +02:00 committed by Paulus Schoutsen
parent 37706c2731
commit 7f0a50ce31
41 changed files with 76 additions and 72 deletions

View file

@ -117,7 +117,7 @@ class NetioApiView(HomeAssistantView):
ndev.start_dates = start_dates
for dev in DEVICES[host].entities:
hass.async_add_job(dev.async_update_ha_state())
hass.async_create_task(dev.async_update_ha_state())
return self.json(True)