start a flow if an event lasts for x minutes

I’ll explain what I would like to achieve with an example. I have a zibee presence sensor and a daikin smart air conditioner, I would like to create a flow that allows me to turn off the splitter after 30 minutes of failure to detect a human being. What settings should I use?

You could use this card of the Device Capabilities app:

Details:

ok thanks to both of you