If you are doing what I think you are doing, you can use a 3 pin output vactrol. Use the center-tap of the photocell tied to GND. One ouptut should be pulled up by say, 10k, with that output tied to the feedback of an op-amp with the + input setting to set the resistance you want while the output of the opamp would feed the led/lamp. The third pin of the photocell would be used as your custom, precision compensated resistor to the common center GND.
In this configuration, you are guaranteed the set resistance you want, across multiple vactrol photocells, across multiple temperatures, across multiple source led source differences and it also will compensate for aging of the components. I used to use these photocells for ultra clean precision audio pre-amp volume controls.