Usually, you control the thermostat to set a desired temperature. But digital thermostats learn your preferences. Besides, some have an AUTO-ADJUSTED mode that turns the thermostat from HEAT to COOL by detecting the surrounding temperature.