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])