Uhh... forgot to switch between sensors based on tilt switch status.
I'm tired.