Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: this.entity_attribute[attributeName] replacement #309

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dave-gray101
Copy link

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.

@taminaminam
Copy link

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

@Max101
Copy link

Max101 commented Aug 29, 2023

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

@KingofGnome
Copy link

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 :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants