Lights on/off with help of Risco PIR

Hi,

I have a Risco Agility 3 alarm system including the payed cloud option.

Now I would like to turn the lights on when a Risco PIR detects motion. After some minutes the lights have to go out.
I manage to define the trigger with a state and binary_sensor.pir_XXX. The lights go on, but this works only ones. Wen I try it again, it does not work anymore.

I know that the Risco PIR go in an inactive mode during about 2 minutes when motion is detected.

Uses somebody to control lights with help of Risco PIR?