async_create_task (#17059)

* async_create_task

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

No files matched your search

@@ -55,7 +55,7 @@ async def async_setup_scanner(hass, config, async_see, discovery_info=None):
return
kwargs = _parse_see_args(dev_id, data)
hass.async_add_job(async_see(**kwargs))
hass.async_create_task(async_see(**kwargs))
await mqtt.async_subscribe(
hass, topic, async_message_received, qos)