Clean, wash and slice the aubergine and zucchini. Peel, wash and thinly slice the potatoes. Peppers wash, clean and cut into strips. Peel and slice the onion.
Heat the oil in a pan, sauté the onion slices in it and remove. Add zucchini and eggplant slices and fry. Remove and season with salt and pepper. Wash the herbs, dab dry and chop finely, except for a little garnish.
Mix strained tomatoes and tomato pesto, stir in herbs. Clean, wash and slice the tomatoes. Put 1/3 of the tomato sauce into an ovenproof casserole dish. Spread potato slices on top.
Add 1/3 of the tomato sauce. Spread the vegetables on top and add the rest of the tomato sauce. Grate the cheese finely and sprinkle over it. Bake in the preheated oven (electric cooker: 175 °C/ convection oven: 150 °C/ gas: level 2) for approx. 45 minutes.
Remove and serve garnished with fresh herbs.