diff --git a/src/card.ts b/src/card.ts index 319d41c1..8dae132e 100644 --- a/src/card.ts +++ b/src/card.ts @@ -23,7 +23,7 @@ const FOOTER_HEIGHT = 5; export class Card extends LitElement { @property({ attribute: false }) public hass!: HomeAssistant; - @property() config!: CardConfig; + @property({attribute: false}) config!: CardConfig; @state() section!: Section; @state() store!: Store; @state() showLoader!: boolean; diff --git a/src/components/footer.ts b/src/components/footer.ts index 6eced26f..cd60b9a6 100644 --- a/src/components/footer.ts +++ b/src/components/footer.ts @@ -8,37 +8,37 @@ import { mdiCastVariant, mdiHome, mdiSpeakerMultiple, mdiStarOutline, mdiTune } const { GROUPING, GROUPS, MEDIA_BROWSER, PLAYER, VOLUMES } = Section; class Footer extends LitElement { - @property() config!: CardConfig; + @property({ attribute: false }) config!: CardConfig; @property() section!: Section; render() { return html`