Fix #6
This commit is contained in:
parent
fdbc19b240
commit
c4ab356364
@ -71,6 +71,10 @@ class TemplateEntityRow extends LitElement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
style=${active
|
||||||
|
? "--paper-item-icon-color: var(--paper-item-icon-active-color, #fdd835);"
|
||||||
|
: ""
|
||||||
|
}
|
||||||
></state-badge>
|
></state-badge>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<div
|
<div
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
<state-badge
|
<state-badge
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
.stateObj=${{entity_id:t?t.entity_id:"light.",state:void 0!==this.state.active?o?"on":"off":t?t.state:"off",attributes:{icon:e,entity_picture:i}}}
|
.stateObj=${{entity_id:t?t.entity_id:"light.",state:void 0!==this.state.active?o?"on":"off":t?t.state:"off",attributes:{icon:e,entity_picture:i}}}
|
||||||
|
style=${o?"--paper-item-icon-color: var(--paper-item-icon-active-color, #fdd835);":""}
|
||||||
></state-badge>
|
></state-badge>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<div
|
<div
|
||||||
|
Loading…
x
Reference in New Issue
Block a user