A luminaire, lamp, or retrofit kit with an integral networked controller and two or more sensor functions installed at the factory. The sensor functions may be accomplished with a single device or multiple devices. The networked controller must operate as part of an NLC QPL listed control system.