Not that I'm aware of. I think it would be easier to buy a photocell.
110v to 220v:
Outdoor Hard-Wired Post Eye Light Control with Photocell Light Sensor, 120-277VAC 50/60Hz, Dusk to Dawn Light Sensor, photocell Sensor for Outdoor Light (cUL Listed)-2 Pack
Low voltage:
Photocell Switch, Mini Light Switching Sensor Remote Photocell Dusk to Till Dawn, with Automatic Illumination Detection Circuit, 8-50V DC Wide Voltage LED Automatic Control Switch