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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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