Added command line toggle to open UI on start

This commit is contained in:
Paulus Schoutsen committed 2015-01-17 21:13:02 -08:00
1 parent 1f32ce2ca4
commit 50eecd11c1
4 files changed
+25 -5

No files matched your search

+6
View File
@@ -51,8 +51,14 @@ class HomeAssistant(object):
self.bus = EventBus(pool)
self.services = ServiceRegistry(self.bus, pool)
self.states = StateMachine(self.bus)
# List of loaded components
self.components = []
# Remote.API object pointing at local API
self.local_api = None
# Directory that holds the configuration
self.config_dir = os.path.join(os.getcwd(), 'config')
def get_config_path(self, path):