I have a script that does exactly what I want it to do.
Now I want to execute the script each time I press a button on a card in the UI.
I think I want to use an icon element with a tap_action, but then what?
(I chose to use script because I have no need for any automations in my scenario)
Can anyone prove a sample syntax that I can use to execute a script when tapping the icon?
Thank you so much After correcting a typo in the action: call_service it now works very well
My service name is now service: script.1551100108347 which is not a pretty name. Is there a way to use a more human readable name? (I tried using the alias, but that failed).