
If you're interested in DIY light-controlled night lights, this article is definitely worth checking out.
If you sometimes get up in the middle of the night to use the bathroom and would like a night light for reassurance, but don't want to keep plugging and unplugging it during the day and night, you can make your own light-controlled night light. So, how do you make one? If you're curious, feel free to keep reading.
Here's what the little light looks like:

The circuit diagram of the light-controlled light is shown below:

The PCB diagram of the light-controlled light is shown below:

The front view is shown below:

The back view is shown below:

After testing, the standby current of the light-controlled night light is 20 microamps, and the operating current is 20 milliamps.

When the ceiling light is on, it does not light up:

But once you switch off the ceiling light, it seamlessly illuminates:

All in all, the overall effect is quite pleasing, and I highly encourage you to experiment with creating your own.
Finished.