I have a bathroom light switch with two outlets and one light switch. The switch turns on/off two wall-mounted sconces. Both sconces have their own on/off buttons and an outlet. The buttons on the switches will not turn the lights on unless the wall switch is flipped on. If a sconce's button is set to off, flipping the wall switch will not turn it on. Neither of the sconce's outlets will work if their light is turned off by button or switch. Neither sconce's button can control what happens with the other sconce. What kind of in-wall outlet/switch is this? How many poles and ways is it going? What would I need to buy to just replace the in-wall switch with two outlets? Thx
Your switch sounds like a normal single pole switch. Someone basically wired up the switch to the sconce which already had switches so they could leave the sconce switch on all the time and turn both sconces on with the wall switch only.
So nothing fancy - you should be able to just get a standard outlet to replace the wall switch and run the line to the sconces as "load" from the new outlet. However since this is a bathroom you might want a GFCI outlet as extra protection.
This is effectively impossible to do with parts from Home Depot. 3-way switch wiring will act very weird and have states where throwing the door switch will only exchange which light is on. That's not what you want.
You can do exactly what you want with two GE RR7 relays, a tiny transformer, and the switches used with RR7s.
They are special switches that are SPDT momentary switches. These are available in a wide variety of formats. You have one switch at the door which commands both lights on or off. Then you have a switch on each light that commands that light on or off.
The door switch must be DPDT momentary. It can be hooked up woth simple 5-wire thermostat cable instead of heavy electrical cable.
It works exactly as intended, that being the job of the relays.
An RR7 relay is essentially a switch which can be electrically thrown. Imagine if a common light switch had a little solenoid coil above and below the switch, and either one can throw the switch. . Apply power to one coil for a second, and it throws the switch (assuming the switch wasn't already that way). After you remove power from the coil, the switch stays where it is,
This is how the RR7s work. Pushing a lamp's on switch makes the "on" coil throw the RR7 into the "on" position (it may have already been on). Pushing the "off" switch makes the "off" coil thrn the RR7 off. The door switch is wired to throw both relays "on".
The wiring is somewhat complex, and is beyond the scope of this answer.