FL5150 Multi channel dimmer
FL5150 is phase cut dimmer, not a LED dimmer. Output is AC switch. Connection to ground is reference for gate controlling voltage. Then transistor are opened, current goes through diode of one transistor and drain-source the second. Another polarity - transistors switching places. Transistor are  controlled by DC signal. The ground is not real earth, it is minus of IC power supply.