Flow to check if one window is open

Add a new Device card and select
An alarm turned on or An alaram turned off
Set type is Contact Alarm

Then you can use the Name and Zone tags in the And or Then section of you flow.