Scenes and light groups

I’m having the same issue as this topic.

I have my configuration.yaml referencing groups.yaml and have several groups defined (two lamps for example)

living_room_lamps:
  name: Living Room Lamps
  icon: mdi:lamp
  entities:
    - light.living_room_globe_lamp_1
    - light.living_room_globe_lamp_2

This works for turning light groups on and off and controlling brightness outside of a scen, but the brightness setting is not saved in scenes.yaml. I can manually add it in scenes.yaml, but that sort of defeats the purpose of the scene editor. If I manually add it in, then change something else in the scene, the brightness setting is removed :disappointed:

What could I be doing wrong ?

It looks like you are using a generic group entity, not a light group. Try using a light group and see if it works.

Placed in configuration.yaml, not groups.yaml.

light:
  - platform: group
    name: Living Room Lamps
    entities:
      - light.living_room_globe_lamp_1
      - light.living_room_globe_lamp_2

Ahhhh. I read the docs a bit more carefully, and I was using generic groups as you stated, and I’m all good now! Thanks!

I did split my light groups, not my generic groups into a separate file with light: !include lights.yaml.