Try using the connection editor instead of a driven key... might work for you. I think you could connect the intensity of the light to the visibility of the object.