In order to reduce energy costs, we are looking at installing lighting fixtures that have motion/proximity sensors for when there is no activity (they will drop to a night light mode until someone enters the stairwell again). Are these allowed by code?