{"action":"created","comment":{"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments/201150386","pull_request_review_id":135596518,"id":201150386,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTE1MDM4Ng==","diff_hunk":"@@ -0,0 +1,147 @@\n+/**\n+ *  Copyright 2018 SmartThings\n+ *\n+ *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except\n+ *  in compliance with the License. You may obtain a copy of the License at:\n+ *\n+ *      http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ *  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed\n+ *  on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License\n+ *  for the specific language governing permissions and limitations under the License.\n+ *\n+ *\n+ *  Orvibo Contact Sensor\n+ *\n+ *  Author: Deng Biaoyi\n+ *\n+ *  Date:2018-07-03\n+ */\n+import physicalgraph.zigbee.clusters.iaszone.ZoneStatus\n+import physicalgraph.zigbee.zcl.DataType\n+\n+metadata {\n+\tdefinition(name: \"Orvibo Contact Sensor\", namespace: \"smartthings\", author: \"biaoyi.deng@samsung.com\", runLocally: false, minHubCoreVersion: '000.017.0012', executeCommandsLocally: false, mnmn:\"SmartThings\", vid:\"generic-contact-3\", ocfDeviceType: \"x.com.st.d.sensor.contact\") {\n+\t\tcapability \"Battery\"\n+\t\tcapability \"Configuration\"\n+\t\tcapability \"Contact Sensor\"\n+\t\tcapability \"Refresh\"\n+\t\tcapability \"Health Check\"\n+\t\tcapability \"Sensor\"\n+\n+\t\tfingerprint profileId: \"0104\", deviceId: \"0402\", inClusters: \"0000,0003,0500,0001\", manufacturer: \"ORVIBO\", model: \"e70f96b3773a4c9283c6862dbafb6a99\"\n+\t}\n+\n+\tsimulator {\n+\n+\t\tstatus \"open\": \"zone status 0x0021 -- extended status 0x00\"\n+\t\tstatus \"close\": \"zone status 0x0000 -- extended status 0x00\"\n+\n+\t\tfor (int i = 0; i <= 90; i += 10) {\n+\t\t\tstatus \"battery 0x${i}\": \"read attr - raw: 2E6D01000108210020C8, dni: 2E6D, endpoint: 01, cluster: 0001, size: 08, attrId: 0021, encoding: 20, value: ${i}\"\n+\t\t}\n+\t}\n+\n+\ttiles(scale: 2) {\n+\t\tmultiAttributeTile(name: \"contact\", type: \"generic\", width: 6, height: 4) {\n+\t\t\ttileAttribute(\"device.contact\", key: \"PRIMARY_CONTROL\") {\n+\t\t\t\tattributeState \"open\", label: '${name}', icon: \"st.contact.contact.open\", backgroundColor: \"#e86d13\"\n+\t\t\t\tattributeState \"closed\", label: '${name}', icon: \"st.contact.contact.closed\", backgroundColor: \"#00A0DC\"\n+\t\t\t}\n+\t\t}\n+\n+\t\tvalueTile(\"battery\", \"device.battery\", decoration: \"flat\", inactiveLabel: false, width: 2, height: 2) {\n+\t\t\tstate \"battery\", label: '${currentValue}% battery', unit: \"\"\n+\t\t}\n+\n+\t\tstandardTile(\"refresh\", \"device.refresh\", inactiveLabel: false, decoration: \"flat\", width: 2, height: 2) {\n+\t\t\tstate \"default\", action: \"refresh.refresh\", icon: \"st.secondary.refresh\"\n+\t\t}\n+\n+\t\tmain([\"contact\"])\n+\t\tdetails([\"contact\", \"battery\", \"refresh\"])\n+\t}\n+}\n+\n+def parse(String description) {\n+\tlog.debug \"description: $description\"\n+\n+\tdef result = [:]\n+\tMap map = zigbee.getEvent(description)\n+\tif (!map) {\n+\t\tif (description?.startsWith('zone status')) {\n+\t\t\tZoneStatus zs = zigbee.parseZoneStatus(description)\n+\t\t\tmap = zs.isAlarm1Set() ? getContactResult('open') : getContactResult('closed')\n+\t\t\tresult = createEvent(map)\n+\t\t}else if(description?.startsWith('enroll request')){\n+\t\t\tList cmds = zigbee.enrollResponse()\n+\t\t\tlog.debug \"enroll response: ${cmds}\"\n+\t\t\tresult = cmds?.collect { new physicalgraph.device.HubAction(it) }\n+\t\t}else {\n+\t\t\tMap descMap = zigbee.parseDescriptionAsMap(description)\n+\t\t\tif (descMap?.clusterInt == 0x0001 && descMap?.commandInt != 0x07 && descMap?.value) {\n+\t\t\t\tif(descMap?.attrInt==0x0021){\n+\t\t\t\t\tmap = getBatteryPercentageResult(Integer.parseInt(descMap.value, 16))\n+\t\t\t\t\tresult = createEvent(map)\n+\t\t\t\t}\n+\t\t\t} else if (descMap?.clusterInt == 0x0500 && descMap?.attrInt == 0x0002) {\n+\t\t\t\tdef zs = new ZoneStatus(zigbee.convertToInt(descMap.value, 16))\n+\t\t\t\tmap = getContactResult(zs.isAlarm1Set() ? \"open\" : \"closed\")\n+\t\t\t\tresult = createEvent(map)\n+\t\t\t}\n+\t\t}\n+\t}else{\n+\t\tresult = createEvent(map)\n+\t}\n+\tlog.debug \"Parse returned $result\"\n+\n+\tresult\n+}\n+","path":"devicetypes/smartthings/Orvibo-Contact-Sensor.src/Orvibo-Contact-Sensor.groovy","position":100,"original_position":100,"commit_id":"542595ca88fb430f32f443a82274ffe7282e4d4a","original_commit_id":"542595ca88fb430f32f443a82274ffe7282e4d4a","user":{"login":"greens","id":123942,"node_id":"MDQ6VXNlcjEyMzk0Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/123942?v=4","gravatar_id":"","url":"https://api.github.com/users/greens","html_url":"https://github.com/greens","followers_url":"https://api.github.com/users/greens/followers","following_url":"https://api.github.com/users/greens/following{/other_user}","gists_url":"https://api.github.com/users/greens/gists{/gist_id}","starred_url":"https://api.github.com/users/greens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greens/subscriptions","organizations_url":"https://api.github.com/users/greens/orgs","repos_url":"https://api.github.com/users/greens/repos","events_url":"https://api.github.com/users/greens/events{/privacy}","received_events_url":"https://api.github.com/users/greens/received_events","type":"User","site_admin":false},"body":"add an `installed()` method that queries the initial battery and contact state.","created_at":"2018-07-09T21:18:39Z","updated_at":"2018-07-09T21:18:39Z","html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3209#discussion_r201150386","pull_request_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3209","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments/201150386"},"html":{"href":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3209#discussion_r201150386"},"pull_request":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3209"}}},"pull_request":{"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3209","id":198643163,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NjQzMTYz","html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3209","diff_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3209.diff","patch_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3209.patch","issue_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/3209","number":3209,"state":"open","locked":false,"title":"WWST-947 ORVIBO Contact Sensor","user":{"login":"BYDengS","id":40649638,"node_id":"MDQ6VXNlcjQwNjQ5NjM4","avatar_url":"https://avatars2.githubusercontent.com/u/40649638?v=4","gravatar_id":"","url":"https://api.github.com/users/BYDengS","html_url":"https://github.com/BYDengS","followers_url":"https://api.github.com/users/BYDengS/followers","following_url":"https://api.github.com/users/BYDengS/following{/other_user}","gists_url":"https://api.github.com/users/BYDengS/gists{/gist_id}","starred_url":"https://api.github.com/users/BYDengS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BYDengS/subscriptions","organizations_url":"https://api.github.com/users/BYDengS/orgs","repos_url":"https://api.github.com/users/BYDengS/repos","events_url":"https://api.github.com/users/BYDengS/events{/privacy}","received_events_url":"https://api.github.com/users/BYDengS/received_events","type":"User","site_admin":false},"body":"Hi , I am from China Certification center, and I have add a new DTH for ORVIBO Contact Sensor.Now, I want to merge my DTH to SmartThingsCommunity master branch, Please have a code review,Thank you!\r\n","created_at":"2018-07-02T10:57:08Z","updated_at":"2018-07-09T21:18:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e730355f152cfc70de0d2ef372f05d2db74a0e59","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3209/commits","review_comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3209/comments","review_comment_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/3209/comments","statuses_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/542595ca88fb430f32f443a82274ffe7282e4d4a","head":{"label":"BYDengS:WWST-947","ref":"WWST-947","sha":"542595ca88fb430f32f443a82274ffe7282e4d4a","user":{"login":"BYDengS","id":40649638,"node_id":"MDQ6VXNlcjQwNjQ5NjM4","avatar_url":"https://avatars2.githubusercontent.com/u/40649638?v=4","gravatar_id":"","url":"https://api.github.com/users/BYDengS","html_url":"https://github.com/BYDengS","followers_url":"https://api.github.com/users/BYDengS/followers","following_url":"https://api.github.com/users/BYDengS/following{/other_user}","gists_url":"https://api.github.com/users/BYDengS/gists{/gist_id}","starred_url":"https://api.github.com/users/BYDengS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BYDengS/subscriptions","organizations_url":"https://api.github.com/users/BYDengS/orgs","repos_url":"https://api.github.com/users/BYDengS/repos","events_url":"https://api.github.com/users/BYDengS/events{/privacy}","received_events_url":"https://api.github.com/users/BYDengS/received_events","type":"User","site_admin":false},"repo":{"id":138956830,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg5NTY4MzA=","name":"SmartThingsPublic","full_name":"BYDengS/SmartThingsPublic","owner":{"login":"BYDengS","id":40649638,"node_id":"MDQ6VXNlcjQwNjQ5NjM4","avatar_url":"https://avatars2.githubusercontent.com/u/40649638?v=4","gravatar_id":"","url":"https://api.github.com/users/BYDengS","html_url":"https://github.com/BYDengS","followers_url":"https://api.github.com/users/BYDengS/followers","following_url":"https://api.github.com/users/BYDengS/following{/other_user}","gists_url":"https://api.github.com/users/BYDengS/gists{/gist_id}","starred_url":"https://api.github.com/users/BYDengS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BYDengS/subscriptions","organizations_url":"https://api.github.com/users/BYDengS/orgs","repos_url":"https://api.github.com/users/BYDengS/repos","events_url":"https://api.github.com/users/BYDengS/events{/privacy}","received_events_url":"https://api.github.com/users/BYDengS/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BYDengS/SmartThingsPublic","description":"SmartThings open-source DeviceTypeHandlers and SmartApps code","fork":true,"url":"https://api.github.com/repos/BYDengS/SmartThingsPublic","forks_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/forks","keys_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/teams","hooks_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/hooks","issue_events_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/issues/events{/number}","events_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/events","assignees_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/assignees{/user}","branches_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/branches{/branch}","tags_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/tags","blobs_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/git/refs{/sha}","trees_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/statuses/{sha}","languages_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/languages","stargazers_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/stargazers","contributors_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/contributors","subscribers_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/subscribers","subscription_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/subscription","commits_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/commits{/sha}","git_commits_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/git/commits{/sha}","comments_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/comments{/number}","issue_comment_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/issues/comments{/number}","contents_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/contents/{+path}","compare_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/merges","archive_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/downloads","issues_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/issues{/number}","pulls_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/pulls{/number}","milestones_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/milestones{/number}","notifications_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/labels{/name}","releases_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/releases{/id}","deployments_url":"https://api.github.com/repos/BYDengS/SmartThingsPublic/deployments","created_at":"2018-06-28T02:36:30Z","updated_at":"2018-06-28T02:37:19Z","pushed_at":"2018-07-07T03:44:51Z","git_url":"git://github.com/BYDengS/SmartThingsPublic.git","ssh_url":"git@github.com:BYDengS/SmartThingsPublic.git","clone_url":"https://github.com/BYDengS/SmartThingsPublic.git","svn_url":"https://github.com/BYDengS/SmartThingsPublic","homepage":"http://developer.smartthings.com/","size":10259,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SmartThingsCommunity:master","ref":"master","sha":"a3ea2fc1493b5619b4eaaca8dbfd8e870fae5e62","user":{"login":"SmartThingsCommunity","id":7317431,"node_id":"MDEyOk9yZ2FuaXphdGlvbjczMTc0MzE=","avatar_url":"https://avatars0.githubusercontent.com/u/7317431?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnk0MDIxMjgwMg==","name":"SmartThingsPublic","full_name":"SmartThingsCommunity/SmartThingsPublic","owner":{"login":"SmartThingsCommunity","id":7317431,"node_id":"MDEyOk9yZ2FuaXphdGlvbjczMTc0MzE=","avatar_url":"https://avatars0.githubusercontent.com/u/7317431?v=4","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":"SmartThings open-source DeviceTypeHandlers and SmartApps code","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":"2018-07-09T18:29:21Z","pushed_at":"2018-07-09T19:01:36Z","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":"http://developer.smartthings.com/","size":10288,"stargazers_count":938,"watchers_count":938,"language":"Groovy","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41770,"mirror_url":null,"archived":false,"open_issues_count":975,"license":null,"forks":41770,"open_issues":975,"watchers":938,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3209"},"html":{"href":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3209"},"issue":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/3209"},"comments":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/3209/comments"},"review_comments":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3209/comments"},"review_comment":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3209/commits"},"statuses":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/542595ca88fb430f32f443a82274ffe7282e4d4a"}},"author_association":"NONE"}}
{"actor":{"display_login":"greens"}}