1
0
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:
Paulus Schoutsen
2013-11-11 14:58:57 -08:00
parent 483546a31d
commit ead057cb04
3 changed files with 21 additions and 5 deletions

View File

@@ -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)