In Home Assistant 0.52 we introduced the first version of our script editor. If you just created a new configuration with Home Assistant then you’re all set! Go to the UI and enjoy.
The script editor reads and writes to the file
scripts.yaml in your configuration folder. Make sure that you have set up the script component to read from it:
# Configuration.yaml example script: !include scripts.yaml
The content that was under
script: should now be moved to
scripts.yaml to be editable.