Roll down blinds at night unless window and doro is oven (ind one automation)?

We currency have 4 blinds in out appartment using a zigbee motor to roll them up and down. I want them to roll down at night but not if the door or window they are in front of is oven. And them as soon as the window or door close they should wait a few second and then roll down.

Now I get how to do this in many automations, but is it possible to do it in one? or a few? and preferably in the gui :slight_smile:
Thank you all in advance!!

/Thrawn