Disconnect the connector.
Disengage the 2 claws and remove the solar sensor as shown in the illustration.