I'm replacing an old GFCI/Switch combo. In the old one there are two wires coming into the line side, a hot wire and a neutral. On the load side there is one wire leading up to the lighting fixture. In this configuration the outlet only works when the switch is on.
On the new GFCI/Switch combo there is a load and line side, and two black wires coming out of the back that are meant to control the switch. How do I rewire this in order to give constant power to the GFCI while controlling the light fixture with the switch using the single remaining wire?
I tried splitting the hot wire to go to both the line side and to one of the black switch wires, while connecting the other switch wire to the wire going up to the light fixture. This resulted in a large spark.