Evohome and Aqara automation

hi, I have integrated Evohome with HomeAsistant and works ok, also I have set up XAqara window sensors via Zigbee; I m trying to add an automation so when window open a specific heating zone goes off to 10, and when window closes , heating back to 20. I m new to automations and I can t figure out how to make it happen, I tried different setups but no effect.