AUdio notifications for opened wardrobes until they closed

Hello,
I was refactoring my automation script, from two scripts that were separate (one for bedroom and other for office room) I joined them together, and I have just a question for until: part can I put multiple conditions like this:

- alias: 'Wardrobes Notification Based On Door Sensor'
  id: bedroom_wardrobe_notification_based_on_door_sensor
  trigger:
    - platform: state
      entity_id: 
        - binary_sensor.bedroom_wardrobe_left_door
        - binary_sensor.bedroom_wardrobe_right_door
      to: 'on'
      for: "00:05:00"
      id: Bedroom
    - platform: state
      entity_id: 
        - binary_sensor.office_wardrobe_left_door
        - binary_sensor.office_wardrobe_right_door
      to: 'on'
      for: "00:05:00"
      id: Office
  action:
    - alias: Repeat the sequence UNTIL the conditions are true
      repeat:
        sequence:
          - service: script.turn_off
            entity_id: script.play_notification

          - service: script.turn_on
            entity_id: script.play_notification
            data:
              variables:
                speaker: "media_player.bedroom_ceiling_speaker"
                source: "Primary Chromecast"
                custom_message: > 
                  {% "Please, close bedroom wardrobe." if trigger.id == 'Bedroom' else "Please, close office wardrobe." %}
                volume: "0.25"
                platform: "tts.google_translate_say"
                delay: "00:00:03"
                chromecast_device: "media_player.system_chromecast"

            #wait 3 minutes 
          - delay: 00:03:00
        until:
          # Did it work?
          - condition: template
            value_template: > 
              {{ trigger.id == 'Bedroom' and is_state('binary_sensor.bedroom_wardrobe_left_door','off') and is_state('binary_sensor.bedroom_wardrobe_right_door','off') }}
          - condition: template
            value_template: > 
              {{ trigger.id == 'Office' and is_state('binary_sensor.office_wardrobe_left_door','off') and is_state('binary_sensor.officewardrobe_right_door','off') }}