Fixing a Faulty Thermostat