Trigger automation only if second binary sensor is ON

Hi everyone,

I am writing here because I am totally lost!
I have 12 binary sensors and I would like to trigger automation only when a second binary sensor is triggered between 2 minutes from the first one.

I know it is complicated but hope that somebody can help me

Regards

Sounds like a wait_for_trigger, as explained here.