I wonder whether there is some kind of reed switch hack suitable for this.
Something you could maybe even mount inside the led cover? Like a photoresitor attached to a door sensor.
AU $0.83 17%OFF | 20pcs 5506 5516 5528 5537 5539 Light Dependent Resistor LDR 5MM Photoresistor wholesale retail Photoconductive resistance
https://a.aliexpress.com/_mPtK7dO
Not sure if the bright resistance would be low enough?
Edit: Someone has suggested the cut-off for Aqara sensors is about 2k ohm so linked ones are unlikely to work.
