Any ideas for making solar-powered security light smart?

Hi there.

I have a solar-powered security light, on the side of my house, and I am wondering if there are any Zigbee sensors that might somehow make it smart - i.e. somehow letting HA know when it is on or off.

I thought some sort of light sensor on the front, but not quite sure I can find anything that might do the job.