Is there a way to calibrate ambient light sensors

I’ve noticed this is (very) sensor dependent, and in general nowhere near real lux values (but I use cheap crap). The max lux of Sensor A = 80000, sensor B = 150 …
Some apps provide for calibration (Aqara), it’s not in general.

I decided to just use the sensor’s specific lux values, or the mean value of several combined:

You could consider creating a grouped light sensor, in order for you to work with one general mean lux value.

You can use an advanced virtual device:
Settings:

Result: