Create AD2SmartThings Device Type

Paste this code as a new Device Type at graph.api.smartthings.com