From ca63b6c643fea30161bf2d70cd2aff330a2296b5 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Fri, 5 Jul 2024 20:03:22 +0200 Subject: [PATCH] Fix sensor card display --- 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`