Update API object to support SSL

This commit is contained in:
Paulus Schoutsen committed 2015-12-06 14:13:35 -08:00
1 parent f4238ca242
commit b33e9fe6d9
2 files changed
+7 -3

No files matched your search

+2 -1
View File
@@ -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