thomasloven / lovelace-auto-entities

🔹Automatically populate the entities-list of lovelace cards
MIT License
1.2k stars 111 forks source link

Feature Request: this.entity_name #308

Closed camperdave closed 1 year ago

camperdave commented 1 year ago

I wanted to use the entity's friendly name in the filter.options section, so I threw together this quick patch. It's not as advanced as a full template invocation, but this PR adds a companion to "this.entity_id" in the form of "this.entity_name", which is replaced with the entity's Friendly name.

If there's a better way to be doing this or you hate this idea entirely, please let me know!