Two cameras for driveway car notification

Hello all, I am stumped on trying to get this working, I have two Roelink cameras set up in my home assistant and they work great for detecting cars. I have a very long driveway, I am trying to get it basically if the front gate camera detects a car then only if camera 2 detects a car within 15 seconds send a notification.

this is the yaml i have

alias: Drive way notify test
description: two camers
trigger:
  - type: turned_on
    platform: device
    device_id: 2d16d4755d0b3e34d3d35b16e90174d2
    entity_id: 3e5c56a77d6dc5908f1e26f3343bad53
    domain: binary_sensor
condition:
  - condition: time
    after: "07:00:00"
    before: "21:00:00"
    weekday:
      - sun
      - mon
      - wed
      - thu
      - fri
      - sat
action:
  - wait_for_trigger:
      - platform: state
        entity_id:
          - binary_sensor.wellhouse_vehicle
        from: "off"
        to: "on"
    timeout: "00:00:30"
  - service: input_boolean.turn_{{ 'off' if wait.trigger == none else 'on' }}
    target:
      entity_id: input_boolean.someone_going_up
  - service: notify.alexa_media
    data:
      message: A vehicle has entered the driveway
      data:
        type: announce
        volume_level: "0.8"
      target: >-
        media_player.master_bedroom_right, media_player.master_bedroom_left,
        media_player.living_room_right, media_player.living_room_left,
        media_player.seth_s_echo
media_player.seth_s_echo_2
  - service: media_player.play_media
    target:
      entity_id: media_player.onn_4k_streaming_box_3
    data:
      media_content_id: s
      media_content_type: application/vnd.apple.mpegurl
    metadata:
      title: Starfleet Ranch +All cameras
      thumbnail: /api/camera_proxy/camera.starfleet_ranch_all_cameras
      media_class: video
      children_media_class: null
      navigateIds:
        - {}
        - media_content_type: app
          media_content_id: media-source://camera
    enabled: false
  - service: notify.mobile_app_
    data:
      message: Someone is in the Driveway!!!!
      title: "Driveway Alert "
      data:
        actions:
          - action: ALARM
            title: Sound Alarm
          - action: URI
            title: Open Url
            uri: https://google.com
  - service: notify.mobile_app_seth
    metadata: {}
    data:
      title: "Driveway Alert "
      message: Someone is in the Driveway!!!!
      data:
        actions:
          - action: ALARM
            title: Sound Alarm
          - action: URI
            title: Open Url
            uri: https://google.com
mode: single

https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16