Light Groups Not Working

oh mann!

The light group is not tthere, so I think something is wrong!

Here is the code again:

Folder integrations/lightgroups.yaml:
light: !include_dir_merge_list ../lightgroups

Folder lightgroups:
File basement.yaml:

light:
  - platform: group
    unique_id: lightgroup_moon
    name: IKEA Mond
    icon: mdi:lightbulb
    entities:
      - light.ikea_mond_1
      - light.ikea_mond_2

What`s wrong now?

Iā€™m putting money on you not running a configuration check command at any point.

basement.yaml needs to look like

- platform: group
  unique_id: lightgroup_moon
  name: IKEA Mond
  icon: mdi:lightbulb
  entities:
    - light.ikea_mond_1
    - light.ikea_mond_2

Edit it, run ha core check (or the command for your install method) and then if it doesnā€™t error reload groups.

1 Like

HEUREKA!

shame on meā€¦the light is already in the lightgroups.yaml!..sometimes you canā€™t see the forest for the trees. But I was not clear about the difference between group and light-group.

Thanks a lot for your support!!

1 Like