mirror of
https://github.com/home-assistant/core.git
synced 2025-12-22 03:49:36 +00:00
Remote instances are now 100% operational
This commit is contained in:
@@ -194,13 +194,12 @@ def from_config_file(config_path, enable_logging=True):
|
||||
add_status("Keyboard", load_module('keyboard').setup(hass))
|
||||
|
||||
# Init HTTP interface
|
||||
if has_opt("httpinterface", "api_password"):
|
||||
httpinterface = load_module('httpinterface')
|
||||
if has_opt("http", "api_password"):
|
||||
http = load_module('http')
|
||||
|
||||
httpinterface.HTTPInterface(
|
||||
hass, get_opt("httpinterface", "api_password"))
|
||||
http.setup(hass, get_opt("http", "api_password"))
|
||||
|
||||
add_status("HTTPInterface", True)
|
||||
add_status("HTTP", True)
|
||||
|
||||
# Init groups
|
||||
if has_section("group"):
|
||||
|
||||
Reference in New Issue
Block a user