Safety temperature sensor