Extra SHM mode options?

Example using new SmartThings Cloud API!

Groovy based coding officially not deprecated, but may lose access to new features, so it is bound to eventually die off.