lovelace-auto-entities icon indicating copy to clipboard operation
lovelace-auto-entities copied to clipboard

Feature Request: this.entity_attribute[attributeName] replacement

Open dave-gray101 opened this issue 2 years ago • 3 comments

I'd like to generate cards with more fields than just the entity ID substituted in. I created this quick PR to fill in arbitrary attributes instead, such as friendly_name. It might be better to support a full template execution, but this seems like a good middle ground, potentially?

Please let me know if you have any suggestions on a better way to do this.

dave-gray101 avatar Oct 03 '22 07:10 dave-gray101

I'd really love to have this feature, so I can make url navigations to edit a scene by its id attribute

taminaminam avatar Jul 23 '23 23:07 taminaminam

This PR works well I can confirm. Can this be merged?

Max101 avatar Aug 29 '23 21:08 Max101

Push, i tried over an hour, just expecting that this.entity_id is not just magicly hardcoded but would work similar for other attributes untill i found the section in the sourcecode :(

KingofGnome avatar Nov 10 '23 20:11 KingofGnome