How a Thermostat Works with Your Heating System