Skip to content

Is there an equivalent text field in automations as in shortcuts?

Is there an equivalent text field in automations as in shortcuts?

I play with the automations in HomeKit and I noticed that there is no text field with several lines. In shortcuts, you can save multiple lines in a single text and use them as a variable later. I use this to write JavaScript code without third party applications. The only way I’ve found to do this is by combining the text, which would mean one action for each line of code – so, unfortunately, many actions. Do any of you have experience with this issue or do you have any useful tips for me?