Fix thermostat schedule