From 71793dcfa52c16aa01cfb6d336e8d3cc3bbaab15 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 18 Mar 2020 12:19:01 +0100 Subject: [PATCH] Cast fix for urlPath === "lovelace" (#5242) --- cast/src/receiver/layout/hc-main.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cast/src/receiver/layout/hc-main.ts b/cast/src/receiver/layout/hc-main.ts index fa84d8d2ef..cb5773b416 100644 --- a/cast/src/receiver/layout/hc-main.ts +++ b/cast/src/receiver/layout/hc-main.ts @@ -172,6 +172,9 @@ export class HcMain extends HassElement { return; } if (!this._unsubLovelace || this._urlPath !== msg.urlPath) { + if (msg.urlPath === "lovelace") { + msg.urlPath = null; + } this._urlPath = msg.urlPath; if (this._unsubLovelace) { this._unsubLovelace();