Multiple "Wait for trigger" i a single Automation

Hi,

I’m trying to create a flow with the new “wait for trigger” function but i can’t seem to get it to work.
The flow i wanna do is when motion sensor 1 is ON i want to wait for motion sensor 2 is ON then i want to wait for the motion sensor 3 to be ON and then trigger an action but it seems that the automation do not wait for the second “wait for trigger” and fires the action either way.
Does an Automation only support one “wait for trigger”?
I made an Automation example below…

- id: '1604226215649'
  alias: Wait for Trigger test
  description: ''
  trigger:
  - platform: state
    entity_id: binary_sensor.motion1
    from: 'off'
    to: 'on'
  condition: []
  action:
  - wait_for_trigger:
    - platform: state
      entity_id: binary_sensor.motion2
      from: 'off'
      to: 'on'
  - wait_for_trigger:
    - platform: state
      entity_id: binary_sensor.motion3
      from: 'off'
      to: 'on'
  mode: single

Thanks

BR
Rickard

The second example in the docs has two sequential wait for trigger actions: https://www.home-assistant.io/docs/scripts/#wait-variable

So it should be possible.