Heat pump on/off flow with countdown

Hello, can anyone help me with this? I want to create a flow that stops the heat pump only when the door has been open for 5 minutes, for example. With a countdown, for example. How do I set up such a flow?

When…
– The contact alarm turned on for 5 minutes
And…
– Heat pump is on
Then…
– Turn heat pump off

yes thanks, I saw it now. It was actually easy, but thanks for the answer :slight_smile: