Then we will activate the automation ② to turn on the executor when motion is detected. We choose the motion sensor ③ and the level of motion ④. We can also choose a light sensor and its parameters.