I removed a dimmer switch controlling 5 canister lights in my kitchen, and saw three black wires coming out of the wall box. Two of the black wires were connected to one of two black wires on the dimmer switch, and the third was connected to the second black wire on the dimmer. The ground coming out of the wall was connected to the ground on the dimmer, and all of the white wires in the wall box were terminated in a wire nut.
I used a three pole toggle switch and connected the lone black wire to the common black screw in the toggle switch, and each of the two black wires that were wired together with one of the black dimmer wires to the remaining brass colored posts on the toggle switch. Finally, I connected the ground to the green screw and didn't do anything with the white wires except put them back.
Everything works, and the place isn't in flames. My question is, has anyone seen a setup like that, and did I use the right toggle switch (3 pole) to make the conversion?