Skip to content

Commit

Permalink
Fix sensor card display (#21313)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya authored Jul 5, 2024
1 parent 42b5fbe commit b7473b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/panels/lovelace/cards/hui-entity-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7473b5

Please sign in to comment.