Track tasks only during shutdown and tests (#4428)

* Track tasks only when needed

* Tweak async_block_till_done
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2016-11-24 14:49:29 -08:00
1 parent 42c99b0ccb
commit eacdce9ed9
4 files changed
+42 -48

No files matched your search

+1
View File
@@ -61,6 +61,7 @@ def setUpModule():
target=loop.run_forever).start()
slave = remote.HomeAssistant(master_api, loop=loop)
slave.async_track_tasks()
slave.config.config_dir = get_test_config_dir()
slave.config.skip_pip = True
bootstrap.setup_component(