From 3158e6043d84f7371672ce0be23d9fda4b2a937e Mon Sep 17 00:00:00 2001 From: chiahsing Date: Thu, 23 Feb 2023 00:15:16 +0800 Subject: [PATCH] Fix a bug in cast launcher that hassURL and path are incorrectly passed (#15546) --- cast/src/launcher/layout/hc-cast.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cast/src/launcher/layout/hc-cast.ts b/cast/src/launcher/layout/hc-cast.ts index 28d26a9df1..4df33bc876 100644 --- a/cast/src/launcher/layout/hc-cast.ts +++ b/cast/src/launcher/layout/hc-cast.ts @@ -181,7 +181,7 @@ class HcCast extends LitElement { private async _handlePickView(ev: Event) { const path = (ev.currentTarget as any).getAttribute("data-path"); await ensureConnectedCastSession(this.castManager!, this.auth!); - castSendShowLovelaceView(this.castManager, path, this.auth.data.hassUrl); + castSendShowLovelaceView(this.castManager, this.auth.data.hassUrl, path); } private async _handleLogout() {