From 32236f700436da88b8a9638492db6979b0b6c4b0 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 27 May 2024 11:48:40 +0200 Subject: [PATCH] allow for insecure wss connections --- app/lib/home_apis/hass_ws/connection.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/home_apis/hass_ws/connection.gd b/app/lib/home_apis/hass_ws/connection.gd index 2cb2109..98ab847 100644 --- a/app/lib/home_apis/hass_ws/connection.gd +++ b/app/lib/home_apis/hass_ws/connection.gd @@ -56,7 +56,7 @@ func start(url: String, token: String) -> ConnectionError: connecting = true print("Connecting to %s" % url + "/api/websocket") - var error = socket.connect_to_url(url + "/api/websocket") + var error = socket.connect_to_url(url + "/api/websocket", TLSOptions.client_unsafe()) if error != OK: print("Error connecting to %s: %s" % [url, error])