Code related to my work on SmartThings