Update API object to support SSL
This commit is contained in:
1 parent
f4238ca242
commit
b33e9fe6d9
2 files changed
+7
-3
No files matched your search
@@ -76,7 +76,8 @@ def setup(hass, config):
|
||||
threading.Thread(target=server.start, daemon=True).start())
|
||||
|
||||
hass.http = server
|
||||
hass.config.api = rem.API(util.get_local_ip(), api_password, server_port)
|
||||
hass.config.api = rem.API(util.get_local_ip(), api_password, server_port,
|
||||
certificate is not None)
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in new issue
Block a user