There are two old dimmer switches in this box, I wanted to remove one and replace it with a normal switch and now I am facing this -- I accidentally removed two of the three wires of the dimmer I want to keep.
There are four holes in the box.
The one on the bottom has two red wires and a white (the white is a bit off color but it's old enough that I think it's still white).
Then a white and a black leaves on the left.
A white and a black leaves on the top.
Another hole features a yellow-with-black-stripe (that's a protective ground, isn't it) and a white.
Finally we have a naked copper wire connected to a screw in the box. That's also some sort of ground, I would guess.
The whites from all four holes are connected together, I don't think I touched this because it still has the cap on and I doubt I need to.
Dimmer #2 has a bottom red wire connected to one of its black wires. It has another black wire and a green wire. I need to connect these but I can't figure out where.
Switch-to-be-installed has three wire nuts, one for ground and two for switching.
I don't get it. My guess would be that the two lights are powered by a black and a white wire exiting to the left and to the top. But that's not possible because the black wires are fixed to the red wire from the bottom which is ought to be phase 1 based on its color and then they would be powered always. I just don't understand what I am looking at. Dimmer #2 actually switches an outlet and currently there's no power in it.