I am retrofitting the main light in a room to be controlled by a home automation system, in this case, I'm using z-wave, but for purposes of this question, it could be any digital protocol.
I would like to have all switches that control the light do so using z-wave, and the actual dimmer circuit won't have a physical switch (it will be buried in the light fixture).
In other words, I will have no switches in the wall that actually break the connection or dim the light.
Is this ok from a code perspective? Does NEC have some kind of rule that I must have a switch in the room that physically controls the light?
If it's not ok, I'm looking for the particular part of the NEC that says that.