{"action":"created","comment":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/91522253","pull_request_review_id":12021335,"id":91522253,"diff_hunk":"@@ -0,0 +1,126 @@\n+/**\n+ * Copyright (c) 2014-2016 by the respective copyright holders.\n+ *\n+ * All rights reserved. This program and the accompanying materials\n+ * are made available under the terms of the Eclipse Public License v1.0\n+ * which accompanies this distribution, and is available at\n+ * http://www.eclipse.org/legal/epl-v10.html\n+ */\n+package org.openhab.binding.netatmo.handler;\n+\n+import static org.openhab.binding.netatmo.NetatmoBindingConstants.*;\n+\n+import java.util.ArrayList;\n+import java.util.Arrays;\n+import java.util.List;\n+\n+import org.eclipse.smarthome.core.thing.Channel;\n+import org.eclipse.smarthome.core.thing.ChannelUID;\n+import org.eclipse.smarthome.core.thing.Thing;\n+import org.eclipse.smarthome.core.types.Command;\n+import org.eclipse.smarthome.core.types.RefreshType;\n+import org.eclipse.smarthome.core.types.State;\n+import org.eclipse.smarthome.core.types.UnDefType;\n+import org.openhab.binding.netatmo.config.AbstractNetatmoClimateThingConfiguration;\n+import org.openhab.binding.netatmo.internal.ChannelTypeUtils;\n+\n+import io.swagger.client.model.NAMeasureResponse;\n+\n+/**\n+ * {@link AbstractNetatmoClimateThingHandler} is the abstract class that handles\n+ * common behaviors of both Devices and Modules\n+ *\n+ * @author Gaël L'hopital - Initial contribution OH2 version\n+ * @author Ing. Peter Weiss\n+ */\n+abstract class AbstractNetatmoClimateThingHandler<X extends AbstractNetatmoClimateThingConfiguration>\n+        extends AbstractNetatmoThingHandler<X> {\n+    private final List<Integer> signalThresholds = new ArrayList<Integer>();","path":"addons/binding/org.openhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/handler/AbstractNetatmoClimateThingHandler.java","position":38,"original_position":38,"commit_id":"e6efc9d150626727e920806b503dfcfb4997f0a1","original_commit_id":"e6efc9d150626727e920806b503dfcfb4997f0a1","user":{"login":"lolodomo","id":10186704,"avatar_url":"https://avatars.githubusercontent.com/u/10186704?v=3","gravatar_id":"","url":"https://api.github.com/users/lolodomo","html_url":"https://github.com/lolodomo","followers_url":"https://api.github.com/users/lolodomo/followers","following_url":"https://api.github.com/users/lolodomo/following{/other_user}","gists_url":"https://api.github.com/users/lolodomo/gists{/gist_id}","starred_url":"https://api.github.com/users/lolodomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lolodomo/subscriptions","organizations_url":"https://api.github.com/users/lolodomo/orgs","repos_url":"https://api.github.com/users/lolodomo/repos","events_url":"https://api.github.com/users/lolodomo/events{/privacy}","received_events_url":"https://api.github.com/users/lolodomo/received_events","type":"User","site_admin":false},"body":"Is \"final\" required ?","created_at":"2016-12-08T14:22:49Z","updated_at":"2016-12-08T14:42:42Z","html_url":"https://github.com/openhab/openhab2-addons/pull/1489#discussion_r91522253","pull_request_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1489","_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/91522253"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/1489#discussion_r91522253"},"pull_request":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1489"}}},"pull_request":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1489","id":95399543,"html_url":"https://github.com/openhab/openhab2-addons/pull/1489","diff_url":"https://github.com/openhab/openhab2-addons/pull/1489.diff","patch_url":"https://github.com/openhab/openhab2-addons/pull/1489.patch","issue_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/1489","number":1489,"state":"open","locked":false,"title":"Netatmo Welcome camera initial implementation.","user":{"login":"wep4you","id":12297293,"avatar_url":"https://avatars.githubusercontent.com/u/12297293?v=3","gravatar_id":"","url":"https://api.github.com/users/wep4you","html_url":"https://github.com/wep4you","followers_url":"https://api.github.com/users/wep4you/followers","following_url":"https://api.github.com/users/wep4you/following{/other_user}","gists_url":"https://api.github.com/users/wep4you/gists{/gist_id}","starred_url":"https://api.github.com/users/wep4you/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wep4you/subscriptions","organizations_url":"https://api.github.com/users/wep4you/orgs","repos_url":"https://api.github.com/users/wep4you/repos","events_url":"https://api.github.com/users/wep4you/events{/privacy}","received_events_url":"https://api.github.com/users/wep4you/received_events","type":"User","site_admin":false},"body":"New Push Request for the netatmo welcome camera, start point was the last head version.\r\n\r\nReplaces PR #1369 so i will close it.\r\n\r\n@lolodomo, @clinique: For review, with just my changes on welcome cam\r\n@kaikreuzer: for information","created_at":"2016-11-27T11:15:27Z","updated_at":"2016-12-08T14:42:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d6540bc8b11abe336f7e259fd20bb43617767c2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1489/commits","review_comments_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1489/comments","review_comment_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/1489/comments","statuses_url":"https://api.github.com/repos/openhab/openhab2-addons/statuses/e6efc9d150626727e920806b503dfcfb4997f0a1","head":{"label":"wep4you:1309_NetatmoWelcomeNew","ref":"1309_NetatmoWelcomeNew","sha":"e6efc9d150626727e920806b503dfcfb4997f0a1","user":{"login":"wep4you","id":12297293,"avatar_url":"https://avatars.githubusercontent.com/u/12297293?v=3","gravatar_id":"","url":"https://api.github.com/users/wep4you","html_url":"https://github.com/wep4you","followers_url":"https://api.github.com/users/wep4you/followers","following_url":"https://api.github.com/users/wep4you/following{/other_user}","gists_url":"https://api.github.com/users/wep4you/gists{/gist_id}","starred_url":"https://api.github.com/users/wep4you/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wep4you/subscriptions","organizations_url":"https://api.github.com/users/wep4you/orgs","repos_url":"https://api.github.com/users/wep4you/repos","events_url":"https://api.github.com/users/wep4you/events{/privacy}","received_events_url":"https://api.github.com/users/wep4you/received_events","type":"User","site_admin":false},"repo":{"id":71668784,"name":"openhab2-addons","full_name":"wep4you/openhab2-addons","owner":{"login":"wep4you","id":12297293,"avatar_url":"https://avatars.githubusercontent.com/u/12297293?v=3","gravatar_id":"","url":"https://api.github.com/users/wep4you","html_url":"https://github.com/wep4you","followers_url":"https://api.github.com/users/wep4you/followers","following_url":"https://api.github.com/users/wep4you/following{/other_user}","gists_url":"https://api.github.com/users/wep4you/gists{/gist_id}","starred_url":"https://api.github.com/users/wep4you/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wep4you/subscriptions","organizations_url":"https://api.github.com/users/wep4you/orgs","repos_url":"https://api.github.com/users/wep4you/repos","events_url":"https://api.github.com/users/wep4you/events{/privacy}","received_events_url":"https://api.github.com/users/wep4you/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wep4you/openhab2-addons","description":"The next-generation open Home Automation Bus (openHAB)","fork":true,"url":"https://api.github.com/repos/wep4you/openhab2-addons","forks_url":"https://api.github.com/repos/wep4you/openhab2-addons/forks","keys_url":"https://api.github.com/repos/wep4you/openhab2-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wep4you/openhab2-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wep4you/openhab2-addons/teams","hooks_url":"https://api.github.com/repos/wep4you/openhab2-addons/hooks","issue_events_url":"https://api.github.com/repos/wep4you/openhab2-addons/issues/events{/number}","events_url":"https://api.github.com/repos/wep4you/openhab2-addons/events","assignees_url":"https://api.github.com/repos/wep4you/openhab2-addons/assignees{/user}","branches_url":"https://api.github.com/repos/wep4you/openhab2-addons/branches{/branch}","tags_url":"https://api.github.com/repos/wep4you/openhab2-addons/tags","blobs_url":"https://api.github.com/repos/wep4you/openhab2-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wep4you/openhab2-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wep4you/openhab2-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/wep4you/openhab2-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wep4you/openhab2-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/wep4you/openhab2-addons/languages","stargazers_url":"https://api.github.com/repos/wep4you/openhab2-addons/stargazers","contributors_url":"https://api.github.com/repos/wep4you/openhab2-addons/contributors","subscribers_url":"https://api.github.com/repos/wep4you/openhab2-addons/subscribers","subscription_url":"https://api.github.com/repos/wep4you/openhab2-addons/subscription","commits_url":"https://api.github.com/repos/wep4you/openhab2-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/wep4you/openhab2-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/wep4you/openhab2-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/wep4you/openhab2-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/wep4you/openhab2-addons/contents/{+path}","compare_url":"https://api.github.com/repos/wep4you/openhab2-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wep4you/openhab2-addons/merges","archive_url":"https://api.github.com/repos/wep4you/openhab2-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wep4you/openhab2-addons/downloads","issues_url":"https://api.github.com/repos/wep4you/openhab2-addons/issues{/number}","pulls_url":"https://api.github.com/repos/wep4you/openhab2-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/wep4you/openhab2-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/wep4you/openhab2-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wep4you/openhab2-addons/labels{/name}","releases_url":"https://api.github.com/repos/wep4you/openhab2-addons/releases{/id}","deployments_url":"https://api.github.com/repos/wep4you/openhab2-addons/deployments","created_at":"2016-10-22T22:18:43Z","updated_at":"2016-10-22T22:18:47Z","pushed_at":"2016-12-06T18:41:05Z","git_url":"git://github.com/wep4you/openhab2-addons.git","ssh_url":"git@github.com:wep4you/openhab2-addons.git","clone_url":"https://github.com/wep4you/openhab2-addons.git","svn_url":"https://github.com/wep4you/openhab2-addons","homepage":null,"size":54796,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openhab:master","ref":"master","sha":"88e1e25350edeb050d50ed6d5e9af4d3b0199bd3","user":{"login":"openhab","id":1007353,"avatar_url":"https://avatars.githubusercontent.com/u/1007353?v=3","gravatar_id":"","url":"https://api.github.com/users/openhab","html_url":"https://github.com/openhab","followers_url":"https://api.github.com/users/openhab/followers","following_url":"https://api.github.com/users/openhab/following{/other_user}","gists_url":"https://api.github.com/users/openhab/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab/subscriptions","organizations_url":"https://api.github.com/users/openhab/orgs","repos_url":"https://api.github.com/users/openhab/repos","events_url":"https://api.github.com/users/openhab/events{/privacy}","received_events_url":"https://api.github.com/users/openhab/received_events","type":"Organization","site_admin":false},"repo":{"id":19753195,"name":"openhab2-addons","full_name":"openhab/openhab2-addons","owner":{"login":"openhab","id":1007353,"avatar_url":"https://avatars.githubusercontent.com/u/1007353?v=3","gravatar_id":"","url":"https://api.github.com/users/openhab","html_url":"https://github.com/openhab","followers_url":"https://api.github.com/users/openhab/followers","following_url":"https://api.github.com/users/openhab/following{/other_user}","gists_url":"https://api.github.com/users/openhab/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab/subscriptions","organizations_url":"https://api.github.com/users/openhab/orgs","repos_url":"https://api.github.com/users/openhab/repos","events_url":"https://api.github.com/users/openhab/events{/privacy}","received_events_url":"https://api.github.com/users/openhab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openhab/openhab2-addons","description":"The next-generation open Home Automation Bus (openHAB)","fork":false,"url":"https://api.github.com/repos/openhab/openhab2-addons","forks_url":"https://api.github.com/repos/openhab/openhab2-addons/forks","keys_url":"https://api.github.com/repos/openhab/openhab2-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openhab/openhab2-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openhab/openhab2-addons/teams","hooks_url":"https://api.github.com/repos/openhab/openhab2-addons/hooks","issue_events_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/events{/number}","events_url":"https://api.github.com/repos/openhab/openhab2-addons/events","assignees_url":"https://api.github.com/repos/openhab/openhab2-addons/assignees{/user}","branches_url":"https://api.github.com/repos/openhab/openhab2-addons/branches{/branch}","tags_url":"https://api.github.com/repos/openhab/openhab2-addons/tags","blobs_url":"https://api.github.com/repos/openhab/openhab2-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openhab/openhab2-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openhab/openhab2-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/openhab/openhab2-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openhab/openhab2-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/openhab/openhab2-addons/languages","stargazers_url":"https://api.github.com/repos/openhab/openhab2-addons/stargazers","contributors_url":"https://api.github.com/repos/openhab/openhab2-addons/contributors","subscribers_url":"https://api.github.com/repos/openhab/openhab2-addons/subscribers","subscription_url":"https://api.github.com/repos/openhab/openhab2-addons/subscription","commits_url":"https://api.github.com/repos/openhab/openhab2-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/openhab/openhab2-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/openhab/openhab2-addons/contents/{+path}","compare_url":"https://api.github.com/repos/openhab/openhab2-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openhab/openhab2-addons/merges","archive_url":"https://api.github.com/repos/openhab/openhab2-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openhab/openhab2-addons/downloads","issues_url":"https://api.github.com/repos/openhab/openhab2-addons/issues{/number}","pulls_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/openhab/openhab2-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/openhab/openhab2-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openhab/openhab2-addons/labels{/name}","releases_url":"https://api.github.com/repos/openhab/openhab2-addons/releases{/id}","deployments_url":"https://api.github.com/repos/openhab/openhab2-addons/deployments","created_at":"2014-05-13T19:41:58Z","updated_at":"2016-12-07T23:03:44Z","pushed_at":"2016-12-07T22:08:30Z","git_url":"git://github.com/openhab/openhab2-addons.git","ssh_url":"git@github.com:openhab/openhab2-addons.git","clone_url":"https://github.com/openhab/openhab2-addons.git","svn_url":"https://github.com/openhab/openhab2-addons","homepage":null,"size":204874,"stargazers_count":442,"watchers_count":442,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":714,"mirror_url":null,"open_issues_count":162,"forks":714,"open_issues":162,"watchers":442,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1489"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/1489"},"issue":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/1489"},"comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/1489/comments"},"review_comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1489/comments"},"review_comment":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1489/commits"},"statuses":{"href":"https://api.github.com/repos/openhab/openhab2-addons/statuses/e6efc9d150626727e920806b503dfcfb4997f0a1"}}}}
{"actor":{"display_login":"lolodomo"}}