How about a list of binary sensors that can be added to a generic_thermostat that will switch it off if the binary sensor is triggered.
This is useful if you have a lot of generic thermostats and want to deactivate them if the window in the corresponding room gets opened.