tom_l
2
Core dashboard cards do not accept templates with very few exceptions. This is not one of them.
Unless you use this:
Also you need to quote single line templates.
Also also it is called service_data
in the tap action.
tap_action:
action: call-service
service: light.turn_on
service_data:
effect: "{{ ['Effect 1', 'Effect 2', 'Effect 3', 'Effect 4', 'Effect 5'] | random | string }}"
target:
entity_id: light.nanoleaf
2 Likes