Fix sensor card display (#21313)

This commit is contained in:
Paul Bottein 2024-07-05 21:01:19 +02:00 committed by GitHub
parent 42b5fbec9b
commit b7473b58fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`
<ha-card