WARNING: This page is about a different car, the 2006 Acura MDX, 2005 Acura MDX, 2004 Acura MDX, and 2003 Acura MDX. However, it is still accessible from the selected car via links, so may be relevant.
Remove the sunlight sensor from the dashboard, then disconnect the 2P connector. Be careful not to damage the sensor or the dashboard.
Fig 1: Disconnecting Sunlight Sensor From Dashboard
Courtesy of AMERICAN HONDA MOTOR CO., INC.
Install the sensor in the reverse order of removal.