Grouping binary toggles together in groups

Hi all,

I recently created a bunch of toggle helpers that i want to use to disable home automation per room.
So each room has a toggle. But i also want those individual rooms grouped into an “upstairs”, “downstairs” , “outside” and “inside” toggle. I think you get the idea.
And those toggles i want to group under 1 master toggle.

I have been messing around with the groups but i can’t seem to make it work

Can anyone nudge me in the right direction. preferably with a small config example.

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

  - platform: marytts
    port: 5500
    voice: larynx:harvard-glow_tts

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
light: !include light-groups.yaml
sensor: !include sensors.yaml
binary_sensor: !include binary-sensors.yaml
switch: !include switches.yaml

homeassistant:
  customize: !include customize.yaml

frontend:
    themes: !include_dir_merge_named themes

octoprint:
  host: octoprint.local
  api_key: !secret octoprint_api_key
  name: Ender 3
  bed: true
  number_of_tools: 1

device_tracker:
  - platform: bluetooth_tracker

my groups.yaml is empty at the moment

In groups.yaml:

all_upstairs:
  name: All Upstairs
  entities:
  - input_boolean.upstairs_1
  - input_boolean.upstairs_2
  - input_boolean.upstairs_3

all_downstairs:
  name: All Downstairs
  entities:
  - input_boolean.downstairs_1
  - input_boolean.downstairs_2
  - input_boolean.downstairs_3

everything:
  name: Everything
  entities:
  - group.all_upstairs
  - group.all_downstairs

Thanks! i added the - sign before name parameter. i guess that was my error.