Industrial compact temperature switch