[How To] Alexa V3 - Report status of window contact (Update: now possible via ContactSensor in DE)

This should answer your question: