Script.yaml not loading

Hi, I am on 105.3, my script.yaml (old script file) is not loading at all.

Is there anything I have to write in configuration to make legacy script.yaml to load?

script: !include scripts.yaml (or whatever your scripts file is named).

scripts.yaml is automatically there using the editor, I guess any other name?

script: !include script_legacy.yaml

Ohhhh, perhaps? But I don’t know how that will affect the editor though. If scripts.yaml is already there, you could just merge the two files. Although, I think that you’ll need to assign ids to your old script blocks. I’ve not used the editor, so I’m not sure how it works under the hood.

No like above I get my old script file loaded but NIT the new file created by the editor … how to have both?

try:

script: !include scripts.yaml
script: !include scripts_old.yaml

I did this


script: !include scripts.yaml            
script old: !include script_legacy.yaml

yes yours work,

EDIT NO IT DOES NOT WORK. It loads only one not both