Thanks, @JDRoberts. I just edited that post.
About the location modes, @homeagain
The CLI doesn’t have those endpoints but the API has some:
- GET modes:
https://api.smartthings.com/v1/locations/locationID/modes
Try the POST and DELETE versions of this endpoint to add/remove one - GET current mode:
https://api.smartthings.com/v1/locations/locationID/modes/current - PUT to modify the current mode:
https://api.smartthings.com/v1/locations/locationID/modes/current
Body:
{
"modeId": "mode-id"
}
Got this info from this post: