Wait for downloader event (multiple)


Created a automation that downloads a file to a directory.
But, it the event related to the automation is fired even when something else is downloaded.

Is there a way to wait for a event in the automation?
This is the “wait for trigger” … Waiting for downloader to be completed.

How can I set the “wait” so it actually waits for the downloader to finish in the same automation?

  - platform: event
    event_type: "downloader_download_completed "
continue_on_timeout: false
  hours: 0
  minutes: 5
  seconds: 0
  milliseconds: 0
enabled: true