Heating/cooling state determination