You can try my garage door automation with Linear Z-wave relay, the only update to that is that you will no longer have it setup as Doors&Locks in the old ST app. In the new ST app, you will need to do the following:
1)Create a room and add the Z-wave motion sensor(taped to the gate) & the Z-wave Linear lf-20 relay to this room.
2)Set the motion sensor as ‘Prefered Device’ (recommend to use ST multi sensor).