Smart Thermostat Automation with Window Sensors

Hi everyone, I’m trying to set up my smart thermostats to automatically adjust when a window is open. My goal is to reduce the temperature by 5 degrees if a window stays open for more than 30 seconds and then restore it once the window is closed. I’ve been experimenting with the heating group settings, but I’m running into some issues. When the window closes, it takes 30 seconds for the thermostat to revert to the original temperature, which isn’t ideal. Also, the system doesn’t recognize the window as open immediately—it takes the full 30 seconds. I’m using all HMIP products, so I’m hoping there’s a way to tweak the settings or find a workaround. Has anyone successfully set up something similar? Any tips or suggestions would be greatly appreciated! :blush: