WARNING: This page is about a different car, the 2008 Nissan Maxima. However, it is still accessible from the selected car via links, so may be relevant.
Disconnect the ambient sensor connector.
Release the ambient sensor (1) from the front bumper reinforcement (2).