{"action":"created","comment":{"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments/73952452","id":73952452,"diff_hunk":"@@ -13,6 +13,7 @@\n  *  for the specific language governing permissions and limitations under the License.\n  *\n  */\n+import physicalgraph.zigbee.clusters.iaszone.ZoneStatus","path":"devicetypes/smartthings/nyce-motion-sensor.src/nyce-motion-sensor.groovy","position":4,"original_position":4,"commit_id":"7bfa0304afccb6b39e967eb7be80219b19f448f2","original_commit_id":"7bfa0304afccb6b39e967eb7be80219b19f448f2","user":{"login":"workingmonk","id":3150991,"avatar_url":"https://avatars.githubusercontent.com/u/3150991?v=3","gravatar_id":"","url":"https://api.github.com/users/workingmonk","html_url":"https://github.com/workingmonk","followers_url":"https://api.github.com/users/workingmonk/followers","following_url":"https://api.github.com/users/workingmonk/following{/other_user}","gists_url":"https://api.github.com/users/workingmonk/gists{/gist_id}","starred_url":"https://api.github.com/users/workingmonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/workingmonk/subscriptions","organizations_url":"https://api.github.com/users/workingmonk/orgs","repos_url":"https://api.github.com/users/workingmonk/repos","events_url":"https://api.github.com/users/workingmonk/events{/privacy}","received_events_url":"https://api.github.com/users/workingmonk/received_events","type":"User","site_admin":false},"body":"cool","created_at":"2016-08-08T20:54:28Z","updated_at":"2016-08-08T20:54:28Z","html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/1087#discussion_r73952452","pull_request_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/1087","_links":{"self":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments/73952452"},"html":{"href":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/1087#discussion_r73952452"},"pull_request":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/1087"}}},"pull_request":{"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/1087","id":79802513,"html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/1087","diff_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/1087.diff","patch_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/1087.patch","issue_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/1087","number":1087,"state":"open","locked":false,"title":"Update DTHs to use ZigBee library ZoneStatus","user":{"login":"varzac","id":223479,"avatar_url":"https://avatars.githubusercontent.com/u/223479?v=3","gravatar_id":"","url":"https://api.github.com/users/varzac","html_url":"https://github.com/varzac","followers_url":"https://api.github.com/users/varzac/followers","following_url":"https://api.github.com/users/varzac/following{/other_user}","gists_url":"https://api.github.com/users/varzac/gists{/gist_id}","starred_url":"https://api.github.com/users/varzac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varzac/subscriptions","organizations_url":"https://api.github.com/users/varzac/orgs","repos_url":"https://api.github.com/users/varzac/repos","events_url":"https://api.github.com/users/varzac/events{/privacy}","received_events_url":"https://api.github.com/users/varzac/received_events","type":"User","site_admin":false},"body":"This makes use of a new class exposed from the ZigBee library to\r\nautomatically parse the ZoneStatus attribute bit map and expose\r\nthe individual values in a simple way.  This fixes a lot of\r\nunhandled cases in the previous copy-pasted switch statements,\r\nas well as allowing for a simpler interface with less copy/pasted\r\ncode.\r\n\r\n@tpmanley @workingmonk ","created_at":"2016-08-02T20:25:49Z","updated_at":"2016-08-08T20:54:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23ba71e908000dd919265f62bde3538a7f325548","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/1087/commits","review_comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/1087/comments","review_comment_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/1087/comments","statuses_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/7bfa0304afccb6b39e967eb7be80219b19f448f2","head":{"label":"varzac:update-zonestatus","ref":"update-zonestatus","sha":"7bfa0304afccb6b39e967eb7be80219b19f448f2","user":{"login":"varzac","id":223479,"avatar_url":"https://avatars.githubusercontent.com/u/223479?v=3","gravatar_id":"","url":"https://api.github.com/users/varzac","html_url":"https://github.com/varzac","followers_url":"https://api.github.com/users/varzac/followers","following_url":"https://api.github.com/users/varzac/following{/other_user}","gists_url":"https://api.github.com/users/varzac/gists{/gist_id}","starred_url":"https://api.github.com/users/varzac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varzac/subscriptions","organizations_url":"https://api.github.com/users/varzac/orgs","repos_url":"https://api.github.com/users/varzac/repos","events_url":"https://api.github.com/users/varzac/events{/privacy}","received_events_url":"https://api.github.com/users/varzac/received_events","type":"User","site_admin":false},"repo":{"id":56004623,"name":"SmartThingsPublic","full_name":"varzac/SmartThingsPublic","owner":{"login":"varzac","id":223479,"avatar_url":"https://avatars.githubusercontent.com/u/223479?v=3","gravatar_id":"","url":"https://api.github.com/users/varzac","html_url":"https://github.com/varzac","followers_url":"https://api.github.com/users/varzac/followers","following_url":"https://api.github.com/users/varzac/following{/other_user}","gists_url":"https://api.github.com/users/varzac/gists{/gist_id}","starred_url":"https://api.github.com/users/varzac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varzac/subscriptions","organizations_url":"https://api.github.com/users/varzac/orgs","repos_url":"https://api.github.com/users/varzac/repos","events_url":"https://api.github.com/users/varzac/events{/privacy}","received_events_url":"https://api.github.com/users/varzac/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/varzac/SmartThingsPublic","description":"","fork":true,"url":"https://api.github.com/repos/varzac/SmartThingsPublic","forks_url":"https://api.github.com/repos/varzac/SmartThingsPublic/forks","keys_url":"https://api.github.com/repos/varzac/SmartThingsPublic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/varzac/SmartThingsPublic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/varzac/SmartThingsPublic/teams","hooks_url":"https://api.github.com/repos/varzac/SmartThingsPublic/hooks","issue_events_url":"https://api.github.com/repos/varzac/SmartThingsPublic/issues/events{/number}","events_url":"https://api.github.com/repos/varzac/SmartThingsPublic/events","assignees_url":"https://api.github.com/repos/varzac/SmartThingsPublic/assignees{/user}","branches_url":"https://api.github.com/repos/varzac/SmartThingsPublic/branches{/branch}","tags_url":"https://api.github.com/repos/varzac/SmartThingsPublic/tags","blobs_url":"https://api.github.com/repos/varzac/SmartThingsPublic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/varzac/SmartThingsPublic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/varzac/SmartThingsPublic/git/refs{/sha}","trees_url":"https://api.github.com/repos/varzac/SmartThingsPublic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/varzac/SmartThingsPublic/statuses/{sha}","languages_url":"https://api.github.com/repos/varzac/SmartThingsPublic/languages","stargazers_url":"https://api.github.com/repos/varzac/SmartThingsPublic/stargazers","contributors_url":"https://api.github.com/repos/varzac/SmartThingsPublic/contributors","subscribers_url":"https://api.github.com/repos/varzac/SmartThingsPublic/subscribers","subscription_url":"https://api.github.com/repos/varzac/SmartThingsPublic/subscription","commits_url":"https://api.github.com/repos/varzac/SmartThingsPublic/commits{/sha}","git_commits_url":"https://api.github.com/repos/varzac/SmartThingsPublic/git/commits{/sha}","comments_url":"https://api.github.com/repos/varzac/SmartThingsPublic/comments{/number}","issue_comment_url":"https://api.github.com/repos/varzac/SmartThingsPublic/issues/comments{/number}","contents_url":"https://api.github.com/repos/varzac/SmartThingsPublic/contents/{+path}","compare_url":"https://api.github.com/repos/varzac/SmartThingsPublic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/varzac/SmartThingsPublic/merges","archive_url":"https://api.github.com/repos/varzac/SmartThingsPublic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/varzac/SmartThingsPublic/downloads","issues_url":"https://api.github.com/repos/varzac/SmartThingsPublic/issues{/number}","pulls_url":"https://api.github.com/repos/varzac/SmartThingsPublic/pulls{/number}","milestones_url":"https://api.github.com/repos/varzac/SmartThingsPublic/milestones{/number}","notifications_url":"https://api.github.com/repos/varzac/SmartThingsPublic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/varzac/SmartThingsPublic/labels{/name}","releases_url":"https://api.github.com/repos/varzac/SmartThingsPublic/releases{/id}","deployments_url":"https://api.github.com/repos/varzac/SmartThingsPublic/deployments","created_at":"2016-04-11T20:17:32Z","updated_at":"2016-04-11T20:17:37Z","pushed_at":"2016-08-03T20:53:42Z","git_url":"git://github.com/varzac/SmartThingsPublic.git","ssh_url":"git@github.com:varzac/SmartThingsPublic.git","clone_url":"https://github.com/varzac/SmartThingsPublic.git","svn_url":"https://github.com/varzac/SmartThingsPublic","homepage":null,"size":3048,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SmartThingsCommunity:master","ref":"master","sha":"f4571289a59701889335cba998d4be0daaea7be5","user":{"login":"SmartThingsCommunity","id":7317431,"avatar_url":"https://avatars.githubusercontent.com/u/7317431?v=3","gravatar_id":"","url":"https://api.github.com/users/SmartThingsCommunity","html_url":"https://github.com/SmartThingsCommunity","followers_url":"https://api.github.com/users/SmartThingsCommunity/followers","following_url":"https://api.github.com/users/SmartThingsCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SmartThingsCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SmartThingsCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmartThingsCommunity/subscriptions","organizations_url":"https://api.github.com/users/SmartThingsCommunity/orgs","repos_url":"https://api.github.com/users/SmartThingsCommunity/repos","events_url":"https://api.github.com/users/SmartThingsCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SmartThingsCommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":40212802,"name":"SmartThingsPublic","full_name":"SmartThingsCommunity/SmartThingsPublic","owner":{"login":"SmartThingsCommunity","id":7317431,"avatar_url":"https://avatars.githubusercontent.com/u/7317431?v=3","gravatar_id":"","url":"https://api.github.com/users/SmartThingsCommunity","html_url":"https://github.com/SmartThingsCommunity","followers_url":"https://api.github.com/users/SmartThingsCommunity/followers","following_url":"https://api.github.com/users/SmartThingsCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SmartThingsCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SmartThingsCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmartThingsCommunity/subscriptions","organizations_url":"https://api.github.com/users/SmartThingsCommunity/orgs","repos_url":"https://api.github.com/users/SmartThingsCommunity/repos","events_url":"https://api.github.com/users/SmartThingsCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SmartThingsCommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic","description":"","fork":false,"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic","forks_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/forks","keys_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/teams","hooks_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/hooks","issue_events_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/events{/number}","events_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/events","assignees_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/assignees{/user}","branches_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/branches{/branch}","tags_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/tags","blobs_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/refs{/sha}","trees_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/{sha}","languages_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/languages","stargazers_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/stargazers","contributors_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/contributors","subscribers_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/subscribers","subscription_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/subscription","commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/commits{/sha}","git_commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/commits{/sha}","comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/comments{/number}","issue_comment_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/comments{/number}","contents_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/contents/{+path}","compare_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/merges","archive_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/downloads","issues_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues{/number}","pulls_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls{/number}","milestones_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/milestones{/number}","notifications_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/labels{/name}","releases_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/releases{/id}","deployments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/deployments","created_at":"2015-08-04T22:48:02Z","updated_at":"2016-08-08T18:20:08Z","pushed_at":"2016-08-08T19:38:40Z","git_url":"git://github.com/SmartThingsCommunity/SmartThingsPublic.git","ssh_url":"git@github.com:SmartThingsCommunity/SmartThingsPublic.git","clone_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic.git","svn_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic","homepage":null,"size":9401,"stargazers_count":280,"watchers_count":280,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7513,"mirror_url":null,"open_issues_count":327,"forks":7513,"open_issues":327,"watchers":280,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/1087"},"html":{"href":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/1087"},"issue":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/1087"},"comments":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/1087/comments"},"review_comments":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/1087/comments"},"review_comment":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/1087/commits"},"statuses":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/7bfa0304afccb6b39e967eb7be80219b19f448f2"}}}}
{"actor":{"display_login":"workingmonk"}}