I just tested this by setting a room/zone to “Off”, waited a few minutes, then opened a window. After a few minutes, I closed the window and the room/zone remained in the “Off” mode as expected.
I have the following set in my Tado integration configuration if it helps: