1999 Cadillac Devill headlight automatic sensor

I believe my time delay switch-off and dusk sensor has failed on my 1999 deville. The automatic headlight system does not work. I can
activate them with the on/off switch. Can anyone point me in the right direction? I would like to fix it myself.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file

Motorsforum.com is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.