Open garage if entering home from zoneX in less than 2 minutes

Hi, i am trying to make an automation which knows if i am walking or driving home.

I have created a automation with a trigger for entering zone X.

I want a condition to see if i have used less than 2 minutes between zonex and home. I was thinking about using the dealy function and then check if home, but cannot find the delay option in the automation section. Maybe you know a simpler way to achive this? Any help in yaml or the menues would be appricated :smiley:

The action is to tell my esphome device to push the garge door opening button. This should work fine.