How Home Thermostat Works