How a Smart Thermostat Can Improve Efficiency