There are a few different types of night lights on the market that have motion sensors. These sensors will turn on the light when someone moves near it, which can be helpful if you’re sleeping and don’t want to wake up your partner. There are also nightlights that have a timer, so they’ll turn off after a set amount of time.