Fix secondary info (#5159)
This commit is contained in:
@@ -94,7 +94,7 @@ class HuiGenericEntityRow extends LitElement {
|
||||
? html`
|
||||
<div class="secondary">
|
||||
${this.secondaryText ||
|
||||
this.config.secondary_info === "entity-id"
|
||||
(this.config.secondary_info === "entity-id"
|
||||
? stateObj.entity_id
|
||||
: this.config.secondary_info === "last-changed"
|
||||
? html`
|
||||
@@ -114,7 +114,7 @@ class HuiGenericEntityRow extends LitElement {
|
||||
: this.hass.localize(
|
||||
"ui.panel.lovelace.cards.entities.never_triggered"
|
||||
)
|
||||
: ""}
|
||||
: "")}
|
||||
</div>
|
||||
`
|
||||
: ""}
|
||||
|
||||
Reference in New Issue
Block a user