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

+1 -4
View File
@@ -141,10 +141,7 @@ def setup(hass, config):
lambda event:
threading.Thread(target=server.start, daemon=True).start())
# If no local api set, set one with known information
if isinstance(hass, rem.HomeAssistant) and hass.local_api is None:
hass.local_api = \
rem.API(util.get_local_ip(), api_password, server_port)
hass.local_api = rem.API(util.get_local_ip(), api_password, server_port)
return True