A little trouble with my thermostat sketch.