From 541453c24599d36da61d04c619d8e393714a90ec Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Tue, 9 Jul 2024 15:37:05 +0200 Subject: [PATCH] Fix hidden conditional card in editor preview (#21344) --- src/panels/lovelace/cards/hui-card.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/lovelace/cards/hui-card.ts b/src/panels/lovelace/cards/hui-card.ts index ecc34ee4ca3d..34c47a691e93 100644 --- a/src/panels/lovelace/cards/hui-card.ts +++ b/src/panels/lovelace/cards/hui-card.ts @@ -23,7 +23,7 @@ declare global { @customElement("hui-card") export class HuiCard extends ReactiveElement { - @property({ attribute: false }) public preview = false; + @property({ type: Boolean }) public preview = false; @property({ attribute: false }) public isPanel = false;