solution
Cleaning treatment: If the contact is poor due to dust, dirt or oxide, you can use a clean cloth or brush to gently wipe the switch surface and contacts to remove impurities. You can also use a special electronic cleaner to spray on the contact and then wipe it clean to restore good contact.
Adjustment repair: For some failures caused by slight deformation or displacement, you can try to carefully adjust the position or shape of the switch to return it to normal. If the button of the toggle switch cannot spring up after being pressed, check whether there is foreign matter stuck or the spring is deformed, remove the foreign matter or adjust the position of the spring to restore its elasticity.
Replace parts: If the parts such as buttons,

contacts, and springs are seriously damaged and cannot be restored to normal function through repair, you need to replace the corresponding parts. Ensure that the replacement part matches the specifications and model of the original part to ensure the normal installation and use of the switch.
Replace the switch: If after investigation and simple repair, the switch still can not work normally, it may be that the switch itself has serious quality problems or internal structural damage can not be repaired, at this time should consider replacing the whole switch. During replacement, select the appropriate model and specifications, and install it according to the correct installation method to ensure that the connection is correct.