Wait for one of 3 conditions (2x Door Sensor, 1x Time)

thanks, i describe the use case more in detail:

garage door with an impulse control: open-stop-close-stop-open and so on.
2 door sensors (one for open, one for closed) and a shelly 1 for the impulse.

problem is that if the door is in the middle (manually) both sensors are not active and you dont know which impulse comes next.
so you need to send the impulse and wait until one or the other sensor is acting and if it was the wrong one send another impulse.

the timer would only be for error handling. it is the max time for the full door open / Close action.
So when the timer is expired, one of the 2 sensors should have acted before …

Is it more clear now :slight_smile:

in the meantime i simulated it via a variable: not sure if this will work…(it is german, but should be understandable )