Much of the wiring my house is of the DIY variety, done by someone who was plainly insane.
My living room has an electrical box with a switch, which runs to .. another switch on the exterior wall, to turn on/off deck lights.
This is not a runner switch situation where both switches can turn on the deck lights - this is a wire run in series situation, where both switches have to be on for the deck lights to turn on.
I don't want this switch, I think it's idiotic. Additionally, the electrical box for it is very poorly mounted and juts out at an angle.
For now, I have removed the switch and connected the wires with wire nuts. But what I would really like to do is remove the electrical box entirely, and replace that area of drywall (yes, I know I'm being absurdly picky).
Is there any code compliant way for me to permanently connect these wires, and then cover it with drywall? e.g. the connections would not be user accessible, unless they knew it was there and wanted to cut into the drywall. (In the picture below, I want to remove and cover "Switch 1".)
(I am near Pittsburgh, Pennsylvania, USA).
Edit: thanks for the help and ideas. I think I am going to cut the drywall open, install a new box correctly (e.g. so it doesn't stick out at a weird angle), fix the drywall and then either install a blank face plate, an outlet, or some other useful thing that fits in a 1 gang electrical box.