ORIGINAL: coolbean
One thing I would suggest though is to apply a little epoxy where the wires go into the switch. This will reduce the risk of the wires getting loose and pulled out.
Coolbean,
Not a good idea. If the epoxy creeps into the switch it can get onto the contacts and cause the switch to fail. If you want to secure the wire it's better to use a zip tie around the switch and the wire so that it's secure and can't pull out.
Hope this helps
Ken