Thermostat working once again