Bimetal thermometer working principle