Fix homeassistant.start trigger (#8220)
* Fix homeassistant.start trigger * ooops * set sleep(0) just before changing to running state, revert async_block_till_done changes
This commit is contained in:
parent
88b9503962
commit
e39f7d3ef5
1 changed files with 2 additions and 0 deletions
|
@ -181,6 +181,8 @@ class HomeAssistant(object):
|
|||
'report the following info at http://bit.ly/2ogP58T : %s',
|
||||
', '.join(self.config.components))
|
||||
|
||||
# Allow automations to set up the start triggers before changing state
|
||||
yield from asyncio.sleep(0, loop=self.loop)
|
||||
self.state = CoreState.running
|
||||
_async_create_timer(self)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue