mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 21:06:50 +00:00
Note how !include_dir* funcs do not support .yml extension (#8846)
Addresses #16808. I don't believe it's necessary to support `.yml` files, but explicitly noting this would be helpful for others.
This commit is contained in:
parent
cb2416dd17
commit
418869c9b1
@ -165,7 +165,7 @@ You can get help from the command line using: `hass --script check_config --help
|
||||
|
||||
### {% linkable_title Advanced Usage %}
|
||||
|
||||
We offer four advanced options to include whole directories at once.
|
||||
We offer four advanced options to include whole directories at once. Please note that your files must have the `.yaml` file extension; `.yml` is not supported.
|
||||
- `!include_dir_list` will return the content of a directory as a list with each file content being an entry in the list.
|
||||
- `!include_dir_named` will return the content of a directory as a dictionary which maps filename => content of file.
|
||||
- `!include_dir_merge_list` will return the content of a directory as a list by merging all files (which should contain a list) into 1 big list.
|
||||
|
Loading…
x
Reference in New Issue
Block a user