Put the tomatoes in a pot and let them simmer at medium heat for 10-15 minutes. In the meantime wash the thyme, remove the leaves and add to the tomatoes. Season to taste with salt, pepper and sugar.
Clean, wash and cut the spring onions into rings. Clean, wash and slice the mushrooms. Heat oil in a pan and fry spring onions and mushrooms. Deglaze with wine and pour on cream.
Season to taste with salt and pepper. Cut the tofu into large thin slices (like lasagne sheets). Tie the vegetables with sauce thickener if necessary. Layer tomato sauce, tofu and vegetables alternately in an ovenproof dish, sprinkle with cheese.
Cook in the preheated oven (electric cooker: 175 °C/ circulating air: 150 °C/ gas: level 2) for approx. 30 minutes.