mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix sensor card display (#21313)
This commit is contained in:
parent
42b5fbec9b
commit
b7473b58fb
@ -136,7 +136,7 @@ export class HuiEntityCard extends LitElement implements LovelaceCard {
|
|||||||
const colored = stateObj && this.getStateColor(stateObj, this._config);
|
const colored = stateObj && this.getStateColor(stateObj, this._config);
|
||||||
|
|
||||||
const fixedFooter =
|
const fixedFooter =
|
||||||
this.layout === "grid" || this._footerElement !== undefined;
|
this.layout === "grid" && this._footerElement !== undefined;
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
<ha-card
|
<ha-card
|
||||||
|
Loading…
x
Reference in New Issue
Block a user