Is there a way to see defined automatios/routines with CLI?

Hi,
If I define an automation in the app (Android, if it matters), is there a way to see the defined automation in smartthings CLI?

I tried rules command, but it returns empty.

Thanks

Sorry, up to now, there’s no endpoint in the ST API that provides the routines created in the mobile app.

Also, for the Rules, take into consideration that, the results of the GET requests to https://api.smartthings.com/rules?locationId=ID will depend on the Access Token type you use.
For example, if you created a Rule using a SmartApp token, you won’t get those Rules listed using a Personal Access Token (PAT).

1 Like