Toggle Group with Exceptions

Hey,

I’m working on different light modes, all gathered in one group. It’s essential that only one light mode is turned on at the time. By now when triggering a certain light mode I “manually” turn off all other light modes individually, which can get quite complex.

Therefore I feature would be nice looking something like this:
>groups.yaml

light_modes:
  name: Light Modes
  control: hidden
  entities:
   - input_boolean.disco
   - input_boolean.romantic
   - input_boolean.dawn
   - input_boolean.dusk
   - input_boolean.thunder

automation.yaml

- alias: Start Romantic Mode
  trigger: 
    platform: state
    entity_id: input_boolean.romantic
    state: 'on'
  action:
    - service: homeassistant.turn_off
      data:
        entity_id: group.light_modes
        except: input_boolean.romantic
    - service: light.turn_on
      data:
        entity_id: group.lights
        rgb_color: [200, 0, 0]

The main part is:

    - service: homeassistant.turn_off
      data:
        entity_id: group.light_modes
        except: input_boolean.romantic