Trouble with groups in external file

Help!
i can perfectly set up a group in configuration.yaml but when i put it into external file i only get synatx errors

https://pastebin.com/ZcvKvHqv

should be a no brainer but i don’t get it

With all my other configs like automations etc it works fine.

What does “Invalid config for [group]: expected a dictionary for dictionary value @ data[‘group’]. Got [[OrderedDict” mean?

greets

Marcel

change it to:

group: !include_dir_named group/

groups are a “named” dictionary, not a list.

you can tell the difference by seeing that all lists start with a dash (-).

group names don’t start with the dash.

2 Likes