It is not possible at the moment, but I am working on it.
Toggling a motion sensor using a smart switch is available, see: Motion sensor activate/deactivate?
For disabling the motion sensor after 5-30 minutes, please see this feature request: Start timer from a switch