SmartThings Notification and Write Event