user can choose to send event or trait
Merge pull request #1 from bentona/enable_sending_events_and_traits

user can choose to send event or trait