Removing the sensor from solar lights