Reverse engineered circuit diagram of an LED night light made by a north american manufacturer. Remarkably it only draws 100mW and has some surge voltage immunity. A clear plastic light pipe is used to diffuse the light from the LED into the room.
Reverse engineered circuit diagram of another commercial LED night light. This one has a photocell to turn the light off during the day. It also uses light pipe techniques to make the little LED look like a larger lamp. The photocell circuit has hysterisys so that for all intensive purposes the light is always either fully on or fully off.