From b7473b58fb9e19553b1ddc8b04b69fe10f59a735 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Fri, 5 Jul 2024 21:01:19 +0200 Subject: [PATCH] Fix sensor card display (#21313) --- src/panels/lovelace/cards/hui-entity-card.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/lovelace/cards/hui-entity-card.ts b/src/panels/lovelace/cards/hui-entity-card.ts index 3e06cf7bf197..b042d7e7c354 100644 --- a/src/panels/lovelace/cards/hui-entity-card.ts +++ b/src/panels/lovelace/cards/hui-entity-card.ts @@ -136,7 +136,7 @@ export class HuiEntityCard extends LitElement implements LovelaceCard { const colored = stateObj && this.getStateColor(stateObj, this._config); const fixedFooter = - this.layout === "grid" || this._footerElement !== undefined; + this.layout === "grid" && this._footerElement !== undefined; return html`