Changing scenes not working when using light groups

I have two scenes for the hallway, and I noticed that changing from one scene isn’t working (don’t know when this started).

- name: Flur dunkel
  entities:
    light.flur_wohnungstur:
      state: on
      brightness: 32
    light.flur_bad:
      state: off
    light.flur_lukas:
      state: off

- name: Flur hell
  entities:
    light.flur:
      state: on
      brightness: 255

When the scene “Flur dunkel” is active and I start the scene “Flur hell”, nothing happens. It only works when I turn off the lights before or manually change the brightness of “light.flur_bad”. Changing the brightness of the other two lights doesn’t help either.

How can I fix this?

You second scene only changes the state of one light that isn’t in your first scene.

light.flur is the room which contains all three lights. Do I need to define every single light in a scene to make it work in all situations?

Home assistant has no room entity. Do you mean group or area?

I think scenes should work on light groups. Though I have not tried it.

Yes, I mean the group. Just changed the scene to single lights, and now it’s working. So it seems that Home Assistant cannot change scenes between groups.

It works if you use a light group (I checked):

1 Like