My terminology might not be correct. Bare with me.
My house was built in 1960. According to an electrician I had that did some work for me , He said the wiring was grounded to the back of the metal boxes.
I have changed out many outlets but have never run into this situation before
I decided to change out the double switches near my front door. One switch is for the outside light and the other goes to an outlet on the wall . Where you can plug in a light and switch it on from from the wall switch and bottom part of the outlet is just a regular plug.
Problem
When I took the switches out to replace with new. I found two grounding wires twisted together not attached to the box. There are 2 separate cables coming into the box. It was obvious which grounding wire came from each cable , w/ blk, white and ground. I untwisted the grounds and attached the grounding wire to the green grounding screw for each switch.
Did I do the right thng?
Thanks in advance for any help.
Pat