Setting state of a rfx pir binary sensor

I have a cheap rfx radio pir in my garage but it only sends a signal when it’s triggered and not when it resets. It added itself as a binary sensor but i’m struggling to turn it off after a given time. I can set (turn off) the state in the developer tools>states but how do a replicate this in an automation?

If you are using rfxtrx, from the docs…

Do not forget to tweak the configuration variables:

off_delay (Optional): For sensors that only sends ‘On’ state updates, this variable sets a delay after which the sensor state will be updated back to ‘Off’.

Hopefully that will help

Ah right. I was looking at the generic binary_sensor page and not the rfx one. Thanks for the steer.