WARNING: This page is about a different car, the 2008 Acura TSX, 2007 Acura TSX, 2006 Acura TSX, 2005 Acura TSX, and 2004 Acura TSX. However, it is still accessible from the selected car via links, so may be relevant.
Remove the sunlight sensor (A) from the dashboard then disconnect the 2P connector (B). Be careful not to damage the sensor and the dashboard.
Fig 1: Identifying Sunlight Sensor And 2P Connector
Courtesy of AMERICAN HONDA MOTOR CO., INC.
Install the sensor in the reverse order of removal.