From 6191dd60f9af7747d8aeb9b4eb50940d5a4557d8 Mon Sep 17 00:00:00 2001 From: Barma-lej Date: Mon, 11 Nov 2024 12:31:47 +0100 Subject: [PATCH] Render error if mover is unavailable --- src/landroid-card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/landroid-card.js b/src/landroid-card.js index b8dfdeb..f63e606 100644 --- a/src/landroid-card.js +++ b/src/landroid-card.js @@ -1014,7 +1014,7 @@ class LandroidCard extends LitElement { * @return {TemplateResult} The rendered HTML template. */ render() { - if (!this.entity) { + if (!this.entity || this.entity.state === consts.UNAVAILABLE) { return html`