A compact temperature switch for automotive applications