mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-29 12:17:01 +00:00
Mention proposed ordering for !include_dir_list (#8899)
This commit is contained in:
parent
480cf55ffe
commit
763412586f
@ -166,7 +166,7 @@ You can get help from the command line using: `hass --script check_config --help
|
|||||||
### {% linkable_title Advanced Usage %}
|
### {% linkable_title Advanced Usage %}
|
||||||
|
|
||||||
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.
|
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_list` will return the content of a directory as a list with each file content being an entry in the list. The list entries are ordered based on the alphanumeric ordering of the names of the files.
|
||||||
- `!include_dir_named` will return the content of a directory as a dictionary which maps filename => content of file.
|
- `!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.
|
- `!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.
|
||||||
- `!include_dir_merge_named` will return the content of a directory as a dictionary by loading each file and merging it into 1 big dictionary.
|
- `!include_dir_merge_named` will return the content of a directory as a dictionary by loading each file and merging it into 1 big dictionary.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user