Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107902

Having issue with scripts organisation (split up large scripts.yaml file.)

$
0
0

Hi All,
It appears I don’t understand the syntax/ organisation required to split the scripts.yaml file into a series of separate files.

in my configuration.yaml file I have entered:

script ui: !include scripts/scripts.yaml
script manual: !include_dir_merge_list scripts/entertainment

and I have created a folder structure to match and restarted HA.

The results I am seeing are:

  • The files in the entertainment directory are not read at all.
  • The UI does read the scripts.yaml file in the scripts directory, but will not edit them.
  • a new script is added to the root directory scripts.yaml file (created) and then completely ignored by this setup, which continues to read the scripts/scripts.yaml file.

I am at a loss to understand the process here. Any help appreciated.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 107902

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>