hass-core/start.py

9 lines
227 B
Python
Raw Normal View History

2013-10-07 20:23:05 -07:00
""" Starts home assistant with all possible functionality. """
import homeassistant
import homeassistant.bootstrap
2013-09-17 00:32:51 -07:00
hass = homeassistant.bootstrap.from_config_file("home-assistant.conf")
hass.start()
hass.block_till_stopped()