mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Add state color to preview row (#17778)
This commit is contained in:
parent
c8feded4f2
commit
dd8a50af31
@ -20,6 +20,7 @@ class EntityPreviewRow extends LitElement {
|
|||||||
return html`<state-badge
|
return html`<state-badge
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
.stateObj=${stateObj}
|
.stateObj=${stateObj}
|
||||||
|
stateColor
|
||||||
></state-badge>
|
></state-badge>
|
||||||
<div class="name" .title=${computeStateName(stateObj)}>
|
<div class="name" .title=${computeStateName(stateObj)}>
|
||||||
${computeStateName(stateObj)}
|
${computeStateName(stateObj)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user