mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 05:26:47 +00:00
Added shutdown event
This commit is contained in:
@@ -43,7 +43,7 @@ def ensure_homeassistant_started():
|
||||
hah.HTTPInterface(core['eventbus'], core['statemachine'],
|
||||
API_PASSWORD)
|
||||
|
||||
core['eventbus'].fire(ha.EVENT_START)
|
||||
core['eventbus'].fire(ha.EVENT_HOMEASSISTANT_START)
|
||||
|
||||
# Give objects time to startup
|
||||
time.sleep(1)
|
||||
|
||||
Reference in New Issue
Block a user