Custom device types and apps for Smartthings