My ceiling fan speed switch broke and it got stuck on high. I had another fan sitting around, so I took the one from that.
Open up the dangly bit.
Step 2: Remove Switch
Disconnect the wires.
Pay attention to the colors.
Step 3: Transfer Wires
Make sure the switches have the same rating.
And number of settings.
The connections are labeled L, 1, 2, and 3. Be sure to get them in the right spots. The new one might be in a different order.
You might have to stick a little screwdriver in there to get the wires loose; I just pulled them out.