I have a ceiling fan (with light) currently controlled by a dimmer switch that I'd like to replace with a standard switch.
The current wiring is shown in the picture, with two black wires going into the dimmer (and a yellow out to nowhere), two white wires connected to each other inside the box, and a ground wire inside the box not currently connected to anything as far as I can tell.
I'm looking for some advice on what kind of standard switch I need to use to replace it and how to make the connections on the new switch. As far as I know, this is not a 3-way or 4-way setup ... just one switch controls the fan/light unit, but I'm not sure what to do with all the extra wires in the box using a standard 1-way switch.