Multiple Motion Groups

Hi, I am trying to divide my Motion Group into 2.
Basically, I want to track indoor and outdoor motion separately.

When I divide my group into 2, I don’t see the desired groups.

Here is my code from groups.yaml. Can someone please identify my mistake.

motion:
  name: indoor_motion
  icon: mdi:motion-sensor
  entities:
    - binary_sensor.bedroom_motion_sensor_occupancy
    - binary_sensor.wir_motion_sensor_occupancy
    - binary_sensor.garage_inside_motion_sensor_occupancy
    - binary_sensor.hallway_motion_sensor_occupancy
    - binary_sensor.kitchen_motion_sensor_occupancy
    - binary_sensor.living_room_motion_sensor_occupancy
  name: outdoor_motion
  icon: mdi:motion-sensor
  entities:
    - binary_sensor.front_door_motion
    - binary_sensor.back_door_motion

Never mind. Read the instructions with more care and fixed the issue.

indoor_motion:
  name: indoor_motion
  icon: mdi:motion-sensor
  entities:
    - binary_sensor.bedroom_motion_sensor_occupancy
    - binary_sensor.wir_motion_sensor_occupancy
    - binary_sensor.garage_inside_motion_sensor_occupancy
    - binary_sensor.hallway_motion_sensor_occupancy
    - binary_sensor.kitchen_motion_sensor_occupancy
    - binary_sensor.living_room_motion_sensor_occupancy
outdoor_motion:
  name: outdoor_motion
  icon: mdi:motion-sensor
  entities:
    - binary_sensor.front_door_motion
    - binary_sensor.back_door_motion