Sonoff Ewelink IFTTT no longer free - how to control sonoff devices from smartthigns?

For the set up you described, a hue motion sensor triggering an eWeLink switch, you can probably just use an Alexa routine. :sunglasses:

https://www.amazon.com/gp/help/customer/display.html?nodeId=202200080

If you want to run it through smartthings, you can still use Alexa as an intermediary, but you have to set up a virtual device. See the community FAQ:

FAQ: Can I trigger an Echo Action without Speaking to It?