Fix #6
This commit is contained in:
1 parent
fdbc19b240
commit
c4ab356364
2 files changed
+5
No files matched your search
@@ -71,6 +71,10 @@ class TemplateEntityRow extends LitElement {
|
||||
}
|
||||
}
|
||||
}
|
||||
style=${active
|
||||
? "--paper-item-icon-color: var(--paper-item-icon-active-color, #fdd835);"
|
||||
: ""
|
||||
}
|
||||
></state-badge>
|
||||
<div class="flex">
|
||||
<div
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
<state-badge
|
||||
.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}}}
|
||||
style=${o?"--paper-item-icon-color: var(--paper-item-icon-active-color, #fdd835);":""}
|
||||
></state-badge>
|
||||
<div class="flex">
|
||||
<div
|
||||
|
||||
Reference in new issue
Block a user