hardening on sensors and switches