Magneric contact

In that case the trigger is the time check. Homey does not offer zones cards for the AND section that provides details on which doors are open.

You either have to check each individual door/window sensor as part of your flow to determine if the door/window is open, or you can use a HomeyScript that performs that check for all doors/windows. I believe this script might be worth trying: Report any open doors/windows - #2 by Peter_Kawa.