SmartThings Control of Electric Gate

gate control - just need to change icon

then just use smartligting app (for example) to turn on/open gate