Multiple Wait templates in automation

Hi All,

Is there a way to add wait templates in a automation without have them in a line

    - wait_template: "{{ is_state(motion_toilet, 'off') }}"
    - service: light.turn_off
      entity_id: light.toilet_all

    - wait_template: "{{ is_state(motion_kitchen, 'off') }}"
    - service: light.turn_off
      entity_id: light.kitchen_all

Above have toe problem that it will wait for first action. If done then the second one will run.
But what I want is use them without wait for each other. Sometimes kitchen is earlier off the toilet.

Now created a workaround and by making 2 different automations that will only wait for 1 specific wait moment. Then they can run separate from each other.

Run two scripts, each script waits for their motion sensor.
Not easy to follow when you need to debug but it will do the job I believe

thats also a option… I think two automations wil be better to debug when somethings wrong.
Let met think about it