thermostat

A thermostat is a system that monitors and regulates a heating or cooling system. It can be used to set the desired temperature at which it keeps the environment either heated or cooled.