Light groups: Where is the error?

I tried to build 2 light groups with the following code in the groups.yaml:

# Lichtgruppen
light:
  - platform: group
    name: Schlafzimmerlampe
    entities:
      - light.color_temperature_light_7
      - light.color_temperature_light_8
      - light.color_temperature_light_6
    name: Wohnzimmerlampe
    entities:
      - light.color_temperature_light_12
      - light.color_temperature_light_13

The second group is displayed in HA and works. But not the first.

light:
  - platform: group
    name: Schlafzimmerlampe
    entities:
      - light.color_temperature_light_7
      - light.color_temperature_light_8
      - light.color_temperature_light_6

  - platform: group 
    name: Wohnzimmerlampe
    entities:
      - light.color_temperature_light_12
      - light.color_temperature_light_13
1 Like

Still does not work…

# Lichtgruppen
light:
  - platform: group
    name: Schlafzimmerlampe
    entities:
      - light.color_temperature_light_7
      - light.color_temperature_light_8
      - light.color_temperature_light_6

  - platform: group
    name: Wohnzimmerlampe
    entities:
      - light.color_temperature_light_12
      - light.color_temperature_light_13

Have you restarted homeassistant since correcting the configuration?

Got it. The trick was, to put it in the configuration.yaml , not the groups.yaml.
I thougt the groups.yaml was the file for grouping things…
Very strange.

groups.yaml is for groups, not lights.

2 Likes

Thanks @anon43302295 . Did not know that.

1 Like