`template: !include_dir_list path/` is giving errors

As documented here Splitting up the configuration - Home Assistant

template: !include_dir_list yaml/templates/

Checking the YAML shows this

Any idea?

template: !include_dir_merge_list yaml/templates/