Async cleanup part 3 (#4302)

This commit is contained in:
Pascal Vizeli authored and Paulus Schoutsen committed 2016-11-07 22:31:40 -08:00
1 parent 231ef40f53
commit 2e0c185740
10 files changed
+14 -15

No files matched your search

+1 -1
View File
@@ -119,7 +119,7 @@ class NetioApiView(HomeAssistantView):
ndev.start_dates = start_dates
for dev in DEVICES[host].entities:
self.hass.loop.create_task(dev.async_update_ha_state())
self.hass.async_add_job(dev.async_update_ha_state())
return self.json(True)