What's this triac-based device that controls the lamp in my ceiling fan?
Looks like it might be a controlled rectifier for the light. These are used to turn on / off at different points in the AC waveform for dimming. The angle in the AC input where the SCR is turned on is called the delay angle. 



Using this scheme effectively changes the RMS voltage to the load, which effectively changes the power.