mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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
|
||||
.hass=${this.hass}
|
||||
.stateObj=${stateObj}
|
||||
stateColor
|
||||
></state-badge>
|
||||
<div class="name" .title=${computeStateName(stateObj)}>
|
||||
${computeStateName(stateObj)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user