. . . "A thermostat is a device for regulating the temperature of a system so that the system's temperature is maintained near a desired setpoint temperature." .