#Scripts renaming and where and how they are stored

1 messages · Page 1 of 1 (latest)

light wagon
#

Hi, I'm a little lost with script renaming and how and where they are saved.

I added a script via Settings-->Integrations and Automations-->Scripts-->create a script

Everything worked fine. Then I tried to make a new copy of it and rename it and it was a complete mess: Script not recognized by HA and I wasn't able to call it.

So I just went to file editor and I added the 2 scripts there with the same names of the previous ones ( /homeassistant/scripts.yaml).

Now I can call the 2 scripts correctly, but if I check on entities, filtering by scripts, I find a duplicate of each script. Where are YAML scripts done with UI saved? are they different from the ones saved in /homeassistant/scripts.yaml? Which is the best way to proceed?

limpid python
#

UI reads the scripts in the main config folder as a file named scripts.yaml.

covert hornet