From 2a0360df0e8c9cc4893f6aadaeeb19f4cdae02e0 Mon Sep 17 00:00:00 2001 From: Lennart Hase <1834270+motorlatitude@users.noreply.github.com> Date: Mon, 16 Dec 2024 19:23:50 +0000 Subject: [PATCH] fix: disable icon on entity none --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 2da3a0e..efd4150 100644 --- a/src/main.js +++ b/src/main.js @@ -239,7 +239,7 @@ class MiniGraphCard extends LitElement { } const { icon, icon_adaptive_color } = this.config.show; - return icon ? html` + return icon && this.entity[0] ? html`