This commit is contained in:
Daniel Perna 2018-04-22 21:12:22 +02:00
parent 4f8d7778b9
commit 5ce0d34bd8

View file

@ -3711,7 +3711,7 @@ class RequestHandler(BaseHTTPRequestHandler):
if HASS_API:
protocol, uri = HASS_API.split("//")
ws_api = "%s://%swebsocket" % (
"wss" if protocol == 'https' else 'ws', uri
"wss" if protocol == 'https' else 'ws', uri
)
html = get_html().safe_substitute(services=services,
events=events,