WARNING: This page is about a different car, the 2018 Nissan Titan XD and 2018 Nissan Titan. However, it is still accessible from the selected car via links, so may be relevant.
Optical sensor converts the outside brightness (lux) to voltage and transmits the optical sensor signal to BCM.