Generic Thermostat add window_sensor support

pls. add support for open windows/doors.

config file:

comfort_temp: 22.5
window_sensor: binary_sensor.study_windows

Hello RudiRatlos,

Please read the pinned post before posting in Feature Request Topic. It gives you a better chance to make your request happen.
Perhaps a little more information would help.