The SmartThings app got updated with “precondition” in App automation.
Still, there’s no documentation of “if” statement in Rules API to use “precondition”.
SmartThings API (samsung.com)
Is there any way to use “if” statement with “precondition” in Rules API?
I was thinking of migrating my automation from WebCoRE to Rules API, but I was stuck with condition/trigger problem. Until now, all of “if” statement in Rules API were trigger.
But now, it seems that precondition is implemented, so I hope to use this in Rules API.