Add state color to preview row (#17778)

This commit is contained in:
Bram Kragten
2023-09-01 15:45:32 +02:00
committed by GitHub
parent c8feded4f2
commit dd8a50af31

View File

@@ -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)}