Can I do group.all_switches with 1 exception?

Hi Guys,
I’m trying to create a scene for when I leave the house.

I want to turn off all my switches except the front porch.

I’d rather not enter each item 1 at a time, because I’ll forever need to continuously update this scene everytime I add a new switch to my HA.

is it possible to do “group.all_switches” with 1 exception (switch.frontporch)?

Thanks!

While driving home, I thought of a solution.

a script.

turnoff all switches,
then turn front porch back on.

Another options is to create a new group that includes only the switches you want to turn off, then use that for your action (service: homeassistant.turn_on entity_id: group.all_but_frontporch)

but then I’m always going to need to edit this new group with new switches right? if I add new ones.

so I created a very simple scene, but it doesn’t work. and I’d like to know why.

scene:
  - name: Leaving Home
    entities:
      group.all_lights: off
      group.all_switches: off
      switch.front_porch: on