It measures ambient light around the plug.
Wyze Plug Outdoor has a built-in photocell sensor that measures ambient light around the device. It is important to follow the in-app instructions and orient the device so it faces away from the wall so the sensor is exposed to the surrounding environment.