{"action":"created","comment":{"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments/204901242","pull_request_review_id":140067600,"id":204901242,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDkwMTI0Mg==","diff_hunk":"@@ -54,8 +54,9 @@ metadata {\n def installed() {\n \t// Dome Leak Sensor sends WakeUpNotification every 12 hours. Please add zwaveinfo.mfr check when adding other sensors with different interval.\n \tsendEvent(name: \"checkInterval\", value: (2 * 12 + 2) * 60 * 60, displayed: false, data: [protocol: \"zwave\", hubHardwareId: device.hub.hardwareID])\n-\tsendEvent(name: \"water\", value: \"dry\")\n-\tresponse(initialPoll())\n+\tif (zwaveInfo.mfr == \"021F\" && zwaveInfo.prod == \"0003\" && zwaveInfo.model == \"0085\" ) {\n+\t\tsendEvent(name: \"water\", value: \"wet\", isStateChange: false, displayed: false)\n+\t}","path":"devicetypes/smartthings/zwave-water-sensor.src/zwave-water-sensor.groovy","position":null,"original_position":8,"commit_id":"31abd6c003ec824dde3953031fdffa42201b71ec","original_commit_id":"31abd6c003ec824dde3953031fdffa42201b71ec","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":"we still need an initial battery poll\r\n\r\ndoes this have the effect of hiding the alert?","created_at":"2018-07-24T20:33:16Z","updated_at":"2018-07-24T20:33:16Z","html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3257#discussion_r204901242","pull_request_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3257","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments/204901242"},"html":{"href":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3257#discussion_r204901242"},"pull_request":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3257"}}},"pull_request":{"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3257","id":201573369,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNTczMzY5","html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3257","diff_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3257.diff","patch_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3257.patch","issue_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/3257","number":3257,"state":"open","locked":false,"title":"[ICP-4867] Add initial state check.","user":{"login":"ALamchaS","id":23314145,"node_id":"MDQ6VXNlcjIzMzE0MTQ1","avatar_url":"https://avatars2.githubusercontent.com/u/23314145?v=4","gravatar_id":"","url":"https://api.github.com/users/ALamchaS","html_url":"https://github.com/ALamchaS","followers_url":"https://api.github.com/users/ALamchaS/followers","following_url":"https://api.github.com/users/ALamchaS/following{/other_user}","gists_url":"https://api.github.com/users/ALamchaS/gists{/gist_id}","starred_url":"https://api.github.com/users/ALamchaS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ALamchaS/subscriptions","organizations_url":"https://api.github.com/users/ALamchaS/orgs","repos_url":"https://api.github.com/users/ALamchaS/repos","events_url":"https://api.github.com/users/ALamchaS/events{/privacy}","received_events_url":"https://api.github.com/users/ALamchaS/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-16T08:50:41Z","updated_at":"2018-07-24T20:33:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d17ee0489d190022c3ca866384e4d392f5894264","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3257/commits","review_comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3257/comments","review_comment_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/3257/comments","statuses_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/31abd6c003ec824dde3953031fdffa42201b71ec","head":{"label":"ALamchaS:ICP-4867","ref":"ICP-4867","sha":"31abd6c003ec824dde3953031fdffa42201b71ec","user":{"login":"ALamchaS","id":23314145,"node_id":"MDQ6VXNlcjIzMzE0MTQ1","avatar_url":"https://avatars2.githubusercontent.com/u/23314145?v=4","gravatar_id":"","url":"https://api.github.com/users/ALamchaS","html_url":"https://github.com/ALamchaS","followers_url":"https://api.github.com/users/ALamchaS/followers","following_url":"https://api.github.com/users/ALamchaS/following{/other_user}","gists_url":"https://api.github.com/users/ALamchaS/gists{/gist_id}","starred_url":"https://api.github.com/users/ALamchaS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ALamchaS/subscriptions","organizations_url":"https://api.github.com/users/ALamchaS/orgs","repos_url":"https://api.github.com/users/ALamchaS/repos","events_url":"https://api.github.com/users/ALamchaS/events{/privacy}","received_events_url":"https://api.github.com/users/ALamchaS/received_events","type":"User","site_admin":false},"repo":{"id":110985671,"node_id":"MDEwOlJlcG9zaXRvcnkxMTA5ODU2NzE=","name":"SmartThingsPublic","full_name":"ALamchaS/SmartThingsPublic","owner":{"login":"ALamchaS","id":23314145,"node_id":"MDQ6VXNlcjIzMzE0MTQ1","avatar_url":"https://avatars2.githubusercontent.com/u/23314145?v=4","gravatar_id":"","url":"https://api.github.com/users/ALamchaS","html_url":"https://github.com/ALamchaS","followers_url":"https://api.github.com/users/ALamchaS/followers","following_url":"https://api.github.com/users/ALamchaS/following{/other_user}","gists_url":"https://api.github.com/users/ALamchaS/gists{/gist_id}","starred_url":"https://api.github.com/users/ALamchaS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ALamchaS/subscriptions","organizations_url":"https://api.github.com/users/ALamchaS/orgs","repos_url":"https://api.github.com/users/ALamchaS/repos","events_url":"https://api.github.com/users/ALamchaS/events{/privacy}","received_events_url":"https://api.github.com/users/ALamchaS/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ALamchaS/SmartThingsPublic","description":"SmartThings open-source DeviceTypeHandlers and SmartApps code","fork":true,"url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic","forks_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/forks","keys_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/teams","hooks_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/hooks","issue_events_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/issues/events{/number}","events_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/events","assignees_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/assignees{/user}","branches_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/branches{/branch}","tags_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/tags","blobs_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/git/refs{/sha}","trees_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/statuses/{sha}","languages_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/languages","stargazers_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/stargazers","contributors_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/contributors","subscribers_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/subscribers","subscription_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/subscription","commits_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/commits{/sha}","git_commits_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/git/commits{/sha}","comments_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/comments{/number}","issue_comment_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/issues/comments{/number}","contents_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/contents/{+path}","compare_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/merges","archive_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/downloads","issues_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/issues{/number}","pulls_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/pulls{/number}","milestones_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/milestones{/number}","notifications_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/labels{/name}","releases_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/releases{/id}","deployments_url":"https://api.github.com/repos/ALamchaS/SmartThingsPublic/deployments","created_at":"2017-11-16T15:05:34Z","updated_at":"2018-07-24T10:45:35Z","pushed_at":"2018-07-24T10:56:47Z","git_url":"git://github.com/ALamchaS/SmartThingsPublic.git","ssh_url":"git@github.com:ALamchaS/SmartThingsPublic.git","clone_url":"https://github.com/ALamchaS/SmartThingsPublic.git","svn_url":"https://github.com/ALamchaS/SmartThingsPublic","homepage":"http://developer.smartthings.com/","size":9381,"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":"be6ae557be3b085eae12e04f29e87d984acc977b","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-24T19:57:40Z","pushed_at":"2018-07-24T19:55:31Z","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":10428,"stargazers_count":950,"watchers_count":950,"language":"Groovy","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42352,"mirror_url":null,"archived":false,"open_issues_count":985,"license":null,"forks":42352,"open_issues":985,"watchers":950,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3257"},"html":{"href":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3257"},"issue":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/3257"},"comments":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/3257/comments"},"review_comments":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3257/comments"},"review_comment":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/3257/commits"},"statuses":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/31abd6c003ec824dde3953031fdffa42201b71ec"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"greens"}}