diff --git a/src/panels/lovelace/cards/hui-card.ts b/src/panels/lovelace/cards/hui-card.ts index e8091f2b871f..a892d4764dcf 100644 --- a/src/panels/lovelace/cards/hui-card.ts +++ b/src/panels/lovelace/cards/hui-card.ts @@ -105,6 +105,8 @@ export class HuiCard extends ReactiveElement { "ll-upgrade", (ev: Event) => { ev.stopPropagation(); + element.hass = this.hass; + element.preview = this.preview; fireEvent(this, "card-updated"); }, { once: true }