Ther­mo­stat with change-over switch