Looks like moisture might've sneaked into the connection. Give it some time to dry out, and the switch could start working again. While you’re at it, try to get in there and dry it off really well. If you can, throw on a moisture-resistant coating to keep this from happening again.