Wait for either trigger in automations

Hi. I am constructing an automation with a wait for trigger action. I would like to use OR so I can have it wait for any of a number of triggers. But it only allows me to add both triggers as AND.

This is what i currently have:

wait_for_trigger:

  • type: power
    platform: device
    device_id: b330636bf7dbb61722ac447de29b7fd1
    entity_id: 5f000442231ec85714c61e8ed7342820
    domain: sensor
    below: 500
  • type: current
    platform: device
    device_id: b330636bf7dbb61722ac447de29b7fd1
    entity_id: 42c88af5c87225100cf3f2615c5ba2be
    domain: sensor
    below: 1

But I want it to be more like this:

wait_for_trigger:

  • or:

But the current system doesn’t allow it. Could this be updated? Thanks.

Multiple triggers are always logically ORed, not ANDed.

This doesn’t seem to be a feature request. Moving this to Configuration, seems more appropriate for a question. :slight_smile:

And please, take the time to read up on how to post code in this forum. See here for more information: