-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Could you provide a simplest possible example? #6
Comments
I have the same issue. I don't know what code to write to get the templated card to display in other dashboards. In my case I have the template |
just add a manual card with This card will now create an error, which you can ignore for now. Create anoter card (same view or somewhere else) with following card: next click the update all button on this card. It should have now updated the first card we created |
Hey! I'll do this soon! I added a new card that helps you identify existing templates you can use, as well as what template data you can pass into it. Although it's not documented anywhere... yet, you can pass data to a template card by surrounding anything with type: markdown-card
name: '$name$' would create a parameter of template: demo
template_data:
name: 'whatever you want' |
@MarkoPaasila @ahbrims @stefanschaedeli To make sure you aren't blocked on implementing your templates, here is a https://github.com/daredoes/linked-lovelace-ui/wiki/Starter-View |
I should also note, the reason for the vertical stacks is because a template is limited to a |
The example leaves me confused. Could you please provide an example for creating a template of the entity_card card and deploying it with one single entity? No mushroom card, stack_card, or other custom cards. Thank you!
The text was updated successfully, but these errors were encountered: