We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi
I'm getting an error on the dashboard when load:
type: custom:button-card entity: {{ (data | fromjson),['entity'] }} template: rooms_child name: {{ name }} icon: {{ icon|default('mdi:puzzle') }} tap_action: action: navigate navigation_path: {{ navigation_path }} label: > [[[ if(entity){ return entity.state; } else { return 'Entity error!'; } ]]]
The text was updated successfully, but these errors were encountered:
This error often means there is something wrong with your indentation.
You didn't include the indentations in your example. However, there is a : missing behind navigate
:
navigate
Sorry, something went wrong.
No branches or pull requests
Hi
I'm getting an error on the dashboard when load:
type: custom:button-card entity: {{ (data | fromjson),['entity'] }} template: rooms_child name: {{ name }} icon: {{ icon|default('mdi:puzzle') }} tap_action: action: navigate navigation_path: {{ navigation_path }} label: > [[[ if(entity){ return entity.state; } else { return 'Entity error!'; } ]]]
The text was updated successfully, but these errors were encountered: