Using !include_dir_merge_list for groups

Hi All,

Just moved my whole home automation from VERA to Hassio. And got everything (and more) up and running. No time to do some clean up and want to use loose coupling for everything. But can someone explain how the sort order is done when using !include_dir_merge_list for groups? I want to sort my views (10 in total) but cant figure out how i can manage this.

Thanks in advance!

Iā€™m sorting my views in customize.yaml

group.default_view:
  order: 100
group.weather_tab:
  order: 200
group.outside:
  order: 300
group.media:
  order: 400
group.milights:
  order: 500
group.covers:
  order: 600
group.cameras:
  order: 700
group.misc:
  order: 800
group.system:
  order: 900
1 Like

Same, except thereā€™s no point putting default_view in there because it will always be 1, and I havenā€™t multiplied my entries by a hundred :stuck_out_tongue_winking_eye:

1 Like

Thanks for you answers.This works for me.

I had to try it the same way, but no success :frowning:

Is there an example of include_dir_merge_list for groups on github at all?

When using a single YAML file for my groups is works OK, but when I split it to multiple files and use include_dir_merge_list is breaks and all my groups vanish.

Groups are named not listed. You need !include_dir_merge_named

1 Like

Thanks - Iā€™ve now changed it and it seems to be working OK.

Iā€™ve found this example helpful also :slight_smile: