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

Mapping values are not allowed here in "/config/dwains-dashboard/addons/rooms/study/fan/button.yaml", line 5, column 19 #123

Open
arnos-nga opened this issue May 28, 2021 · 1 comment

Comments

@arnos-nga
Copy link

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!'; } ]]]

@lukastillmann
Copy link

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

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

No branches or pull requests

2 participants