How A Home Thermostat Works