Use async_create_task (#15633)

* Use async_create_task

* Fix test
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2018-07-23 14:05:38 +02:00
1 parent 50b6c5948d
commit ea2ff6aae3
26 files changed
+50 -49

No files matched your search

@@ -117,7 +117,7 @@ class HomematicipHAP:
self.config_entry.data.get(HMIPC_HAPID))
for component in COMPONENTS:
self.hass.async_add_job(
self.hass.async_create_task(
self.hass.config_entries.async_forward_entry_setup(
self.config_entry, component)
)