Variables are such a powerful tool, especially if you want to keep things organized and tidy,
It would be great if it could be done directly from the UI.
I was just about to create this WTH. WTH indeed.
Was looking for this WTH indeed, would love this feature!
Would be really great. I recently moved all my automations to the UI but now I have a lot of repetition when it comes to certain (templated) texts.
I have a lot of scripts where I send out a TTS message as well as a push notification with the same message.
Having this would make the UI automations more ‘clean’ since there are less yaml template blocks I guess.
Instead of using a variable,use a helper?
It’s not the same thing,
Fields in scripts are like parameters in functions if you are familiar with code,
You are able to call the script and pass an argument and use that as a field in the script.