In my bedroom, there is a wall switch that controls a ceiling fan. I recently installed a wireless remote controller in the canopy of that ceiling fan so I could turn it on and off from the comfort of my bed with a remote dongle. Because I primarily use the remote to turn on and off the fan, I have no need for the wall switch anymore.
I could completely remove the need for a wall switch by splicing the line and load wires together and putting a plastic plate over the switch box. However, I conducted some research and found that the NEC prohibits lights from being controlled primarily by a "pull chain" type of mechanism. While a remote and pull chain are not exactly the same, if I were to remove the wall switch, I would no longer necessarily have the ability to turn the ceiling fan on and off from the entry of the room (if I left the remote in my drawer, for example).
Strangely, the remote control comes with a holder that can be installed over the switch itself by screwing it into the face plate cover. By installing the holder over the switch, I would effectively be rendering the switch inoperable, constantly keeping it in the "on" position. Surely, The Home Depot wouldn't sell a device that violates NEC code by its intended use.
That being said, would my removal of the wall switch in favor of a remote controller in the canopy of my fan be considered a violation of this prohibition of the NEC?