How to simulate a led light?

Hi, I try to simulate a led light with a light source and lens like this


I tried to use a sphere light and capsule with OmniGlass.
I put the light in the capsule. But the light can’t go through the capsule

Is there any good way to simulate a led light?