Application of thermometers in household appliances