Xiaomi Aqara motion sensors group not working

So i created a group for 2 motion sensors:

motion_bureau_group:
  name: motion_bureau_group
  entities:
    - binary_sensor.0x00158d000483a08d_occupancy
    - binary_sensor.0x00158d00047ba0c8_occupancy

This group should enable/disable my light in Bureau. If i use a single motion sensor the automation works but as soon as i use the group it does nothing. The group itself is showing the correct states so it should be working.
What am i doing wrong…?
This is the automation:

- id: '1606558419070'
  alias: Bureau presence
  description: ''
  trigger:
  - platform: state
    to: 'on'
    entity_id: group.motion_bureau_group
  condition:
  - condition: state
    state: 'Off'
    entity_id: switch.button_bureau
  action:
  - service: switch.toggle
    data: {}
    entity_id: switch.button_bureau
  - wait_for_trigger:
    - platform: state
      entity_id: group.motion_bureau
      to: 'Off'
      for: 'Minutes: 4'
  - service: switch.toggle
    data: {}
    entity_id: switch.button_bureau
  mode: single

“entity_id: group.motion_bureau” instead of “…group.motion_bureau_group”, in line above ‘Off’

the states on/off are both lowercase, off instead of Off.

Also your for: is wrong, where did you read this syntax? Should be:

for:
  minutes: 4

FYI, the automation triggers only when the state of the group changes to on, if the group is already on and it detects motion, it will stay on and won’t trigger your automation.

My syntax was indeed wrong. But now im struggling with the condition as you pointed out. I want my automation only to trigger on motion when the lights is off. Cause now its all messed up. The automation firing again when someone other enters the room thus shutting the lights off etc. How do you guys solve this?
I use loxone in the background so i have to toggle the switch instead turn_off, turn_on.