mirror of
https://github.com/home-assistant/core.git
synced 2025-04-27 02:37:50 +00:00
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
@ -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…
x
Reference in New Issue
Block a user