That is how mine works. I have a Honeywell smart thermostat. It's set for various day/night temps, but basically, if it gets below a certain temp, it heats, if above another temp, it cools. For instance, my daytime settings are 69 and 74. Below 69 it knows to turn the heat on, and above 74 it knows to turn the cooling on.