LNLN Motion Sensor - Replacing Switch, Help with RED wire
Normally Black is the hot supply or L, the white is the neutral N both from the supply and to the load the red wire is the switched hot. This is how all the motion sensors work that I have installed. But you don’t show which wire is red but this is the most common. Most electricians use Red as a switched hot but it is not a requirement to do so.