Advanced Flow Help for turning off lights with presence sensor

There are many ways to control the light in relation to the use of presence sensors. Here is a simple example of how I easily do it. In other cases, I have defined different values for the light depending on the time of day. Then it can become a little more complicated, but still clear with advanced flow.