A client wants an interior photosensor control that will cut the lights on and off with varying sun brightness (on if cloudy, off if bright & sunny). Is this possible?

Dave