- Suggest to continue this discussion in the dedicated button-card thread.
- In short - mixing 2 different ways of templating.
Jinja - not supported in buton-card (which is here actually a wrong mix of jinja & JS):
name:[[[return states("input_select.holiday").state]]]
JS must be used instead like here (but this is also not 100% correct, see next comment):
/lovelace-areas/[[[return states[[[return states['input_select.holiday'].state ]]]
And you cannot concatenate a string and a template.
This is wrong:
navigation_path: /lovelace-areas/[[[return states['input_select.holiday'].state]]]
as well as this:
navigation_path: /lovelace-areas/[[[states['input_select.holiday'].state]]]
must be
navigation_path: >-
[[[ return ('/lovelace-areas/' + states['input_select.holiday'].state) ]]]