A thermostat () operates continuously in a current mode () that is one of a heating mode and a cooling mode, and completes () a demand for one of heating and cooling in accordance with the current mode. After completing the demand and until another demand occurs for one of heating and cooling, the thermostat repeatedly makes () measurements of a sensed room temperature, and determines (), from the measurements, whether the sensed room temperature has finished a post-demand overshoot. In response to determining that the sensed room temperature has finished the post-demand overshoot, the thermostat records () an evaluation temperature, and decides whether to make an automatic changeover from the current mode to a new mode by periodically comparing () the sensed room temperature with the evaluation temperature.