Thermostats and thermocouples