Thermostat Scheduler Disable Switch

Would it be possible to have the Thermostat Scheduler turn the system off when specified switches are open? Like if a door or window is open, turn the system off. Don't want to be wasting energy. :innocent: