I’m replacing a ceiling fan that is operated by a wall switch.
The new fan is operated by a wireless remote. So I need to remove the wall switch and close the circuit so that the fan always has power. At least I think so.
I removed the wall switch. Inside the box are a single black wire and a single white wire. I believe that all I need to do is connect these two wires. But I’m really afraid to connect wires of a different color. Is this going to be safe?
That is correct. If those are the only wires in the box you have a typical switch loop:
You’d simply nut the two wires together, reinstall the switch and plate (or a blank plate) and be happy.
However, that switch might come in handy as it is. You could also use one of the small retainers that go under the lower plate screw to lock switch position. That’s reversible with less effort and they’re available at hardware stores or online.
2.
You may notice that if you enter a room you’ve never been in before, your hand reaches to certain particular locations for a light switch. That’s no accident; it’s because both the electrical and building codes require that a light switch exist, and that it be there.
That means “at least one light switch”. If there are 2 or 3, they don’t all need to exist. As long as there is 1 light switch which does operate a light in the room.
This requirement is partly for the benefit of guests, and that especially includes first responders, who may need to get room lights on quickly to intubate someone, see a room is clear of victims, or see that a loved one is not holding a gun.
Since your plan is to eliminate a light switch, you must make sure you are not eliminating the only light switch in the room. You cannot do that unless there is also another light switch in a suitable location.
That said, there is nothing wrong with keeping the switch and using the remote as the primary control method. Simply don’t turn off the switch. Further, this gives first responders the ability to get the light to come on by switching the switch off then on, once or twice. Most remote-control modules will treat that as a command to bring the lights up.