Sonoff Zigbee Door Sensor - already modified to detect daylight?

Has anybody already tried to modify a Sonoff Zigbee Door Sensor to detect whether there is daylight or not?

This by either connecting a Photoresistor or a Light Sensor Switch Module to the standard Sonoff Zigbee door sensor:

image