Possibility to send an event from the button card

Right now there is only the possibility to start a script.
I have multiple useless scripts which only send an event due to that.

Just make a single script that passes any event…

event_creator:
  mode: parallel
  squence:
  - event: "{{ event }}"
    event_data: "{{ event_data }}"

then…

tap_action:
  action: call-service
  service: script.event_creator
  data:
    event: 'blah'
    event_data:
      my_data: 1
1 Like

Thank you. Good Idea to use parameters to get rid of multiple scripts.

Still, why is the button card not able to send an event on it’s own?