Auto headlight sensor on 2001 Nissan Pathfinder

I generally have my headlights set to auto so they just come on at dusk or cloudy days. Just recently the sensor has stopped working. The sensor in the dash is clean and not blocked. Is there a way to repair the part? If so, what's the name of the part? I've googled auto sensor with no luck. Any ideas?

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer 2 comments
Should be called the Sun sensor, it can be replaced by removing the dash.
Not having luck locating such a part. Keep gettin O2 sensor info.
Some are listed under sun load sensor, daylight sensor.