enter image description hereTryingTrying to figure out how to correctly wire a combination switch in my basement hallway.
One of the two switches turns on the basement light, and works without any issue.
The other switch is supposed to be connected to a switched outlet. However, the outlet doesn't work correctly. When I plug in an outlet tester and turn the switch on, it says that I have an open neutral wire.
So, when I opened up the switch for a better look, I see that there's two cables coming into the box.
The two wires leading to the basement lights (neutral and hot) were connected to the switch.
The cable connected to the switched outlet had the hot wire connected to the switch, and the neutral wire screwed up with the ground wire at the back of the box.
My question is: what are my options here for getting the switched outlet into operation? Can I just attach the neutral wire to the combination switch? I'm assuming that's not a good idea, but not certain what else to do here.
Picture of the back of the receptacle box.