Here is how I combined
script: # for UI editable scripts which are left in the original /config/scripts.yaml file
# with
script manual: # for manually created (and non UI editable) scripts which I separately placed in /config/scripts folder
First, edit your /config/configuration.yaml file:
script: !include_dir_merge_named /scripts
Then, create a /config/scripts folder which will include
- all your manually created scripts
- and a ui_scripts.yaml file which will refer to the UI generated scripts
manual_script_1.yaml
manual_script_2.yaml
manual_script_3.yaml
ui_scripts.yaml
Finally, edit this last ui_scripts.yaml with :
!include ../scripts.yaml
After that, manually created and UI generated scripts will co-exist but UI edition will only work for UI generated scripts of course.
