Skip to content

Commit

Permalink
Fix sensor card display
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya committed Jul 5, 2024
1 parent 42b5fbe commit ca63b6c
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 ca63b6c

Please sign in to comment.