{"action":"created","comment":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/56744364","id":56744364,"diff_hunk":"@@ -448,7 +450,8 @@ public void parseAndUpdate(String request, String payLoad, String result) {\n                     }\n                     case TESLA_CHARGE_STATE: {\n                         chargeState = gson.fromJson(result, ChargeState.class);\n-                        ChannelUID theChannelUID = new ChannelUID(getThing().getUID(), \"charge\");\n+                        ChannelUID theChannelUID = new ChannelUID(getThing().getThingTypeUID(), getThing().getUID(),","path":"addons/binding/org.openhab.binding.tesla/src/main/java/org/openhab/binding/tesla/handler/TeslaHandler.java","position":32,"original_position":32,"commit_id":"0215a2a4a2e8cdb31063bcca732b2d4f108270fe","original_commit_id":"0215a2a4a2e8cdb31063bcca732b2d4f108270fe","user":{"login":"kaikreuzer","id":3244965,"avatar_url":"https://avatars.githubusercontent.com/u/3244965?v=3","gravatar_id":"","url":"https://api.github.com/users/kaikreuzer","html_url":"https://github.com/kaikreuzer","followers_url":"https://api.github.com/users/kaikreuzer/followers","following_url":"https://api.github.com/users/kaikreuzer/following{/other_user}","gists_url":"https://api.github.com/users/kaikreuzer/gists{/gist_id}","starred_url":"https://api.github.com/users/kaikreuzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaikreuzer/subscriptions","organizations_url":"https://api.github.com/users/kaikreuzer/orgs","repos_url":"https://api.github.com/users/kaikreuzer/repos","events_url":"https://api.github.com/users/kaikreuzer/events{/privacy}","received_events_url":"https://api.github.com/users/kaikreuzer/received_events","type":"User","site_admin":false},"body":"Sorry, you did this change because I [mistakenly put the deprecated annotation on the wrong constructor](https://github.com/eclipse/smarthome/commit/d99ad13ca813b9d31f84fca0598a8225f04240ad#commitcomment-16735837)...\r\n\r\nThere is actually a much nicer way to do the updateState, see [here](https://github.com/eclipse/smarthome/pull/1224/files#diff-2ba4d1bdb2c89e2c8b66b342a88ed23eL314).","created_at":"2016-03-19T05:14:31Z","updated_at":"2016-03-19T05:14:31Z","html_url":"https://github.com/openhab/openhab2-addons/pull/735#discussion_r56744364","pull_request_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/735","_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/56744364"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/735#discussion_r56744364"},"pull_request":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/735"}}},"pull_request":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/735","id":62870446,"html_url":"https://github.com/openhab/openhab2-addons/pull/735","diff_url":"https://github.com/openhab/openhab2-addons/pull/735.diff","patch_url":"https://github.com/openhab/openhab2-addons/pull/735.patch","issue_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/735","number":735,"state":"open","locked":false,"title":"Upgrade to latest ESH API + improve connection handling","user":{"login":"kgoderis","id":5459062,"avatar_url":"https://avatars.githubusercontent.com/u/5459062?v=3","gravatar_id":"","url":"https://api.github.com/users/kgoderis","html_url":"https://github.com/kgoderis","followers_url":"https://api.github.com/users/kgoderis/followers","following_url":"https://api.github.com/users/kgoderis/following{/other_user}","gists_url":"https://api.github.com/users/kgoderis/gists{/gist_id}","starred_url":"https://api.github.com/users/kgoderis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgoderis/subscriptions","organizations_url":"https://api.github.com/users/kgoderis/orgs","repos_url":"https://api.github.com/users/kgoderis/repos","events_url":"https://api.github.com/users/kgoderis/events{/privacy}","received_events_url":"https://api.github.com/users/kgoderis/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Karel Goderis <karel.goderis@me.com>","created_at":"2016-03-15T08:36:42Z","updated_at":"2016-03-19T05:14:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4fcb7547801d0c8d5ef08201c0d335c02318de8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/735/commits","review_comments_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/735/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/735/comments","statuses_url":"https://api.github.com/repos/openhab/openhab2-addons/statuses/0215a2a4a2e8cdb31063bcca732b2d4f108270fe","head":{"label":"kgoderis:tesla","ref":"tesla","sha":"0215a2a4a2e8cdb31063bcca732b2d4f108270fe","user":{"login":"kgoderis","id":5459062,"avatar_url":"https://avatars.githubusercontent.com/u/5459062?v=3","gravatar_id":"","url":"https://api.github.com/users/kgoderis","html_url":"https://github.com/kgoderis","followers_url":"https://api.github.com/users/kgoderis/followers","following_url":"https://api.github.com/users/kgoderis/following{/other_user}","gists_url":"https://api.github.com/users/kgoderis/gists{/gist_id}","starred_url":"https://api.github.com/users/kgoderis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgoderis/subscriptions","organizations_url":"https://api.github.com/users/kgoderis/orgs","repos_url":"https://api.github.com/users/kgoderis/repos","events_url":"https://api.github.com/users/kgoderis/events{/privacy}","received_events_url":"https://api.github.com/users/kgoderis/received_events","type":"User","site_admin":false},"repo":{"id":23461615,"name":"openhab2","full_name":"kgoderis/openhab2","owner":{"login":"kgoderis","id":5459062,"avatar_url":"https://avatars.githubusercontent.com/u/5459062?v=3","gravatar_id":"","url":"https://api.github.com/users/kgoderis","html_url":"https://github.com/kgoderis","followers_url":"https://api.github.com/users/kgoderis/followers","following_url":"https://api.github.com/users/kgoderis/following{/other_user}","gists_url":"https://api.github.com/users/kgoderis/gists{/gist_id}","starred_url":"https://api.github.com/users/kgoderis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgoderis/subscriptions","organizations_url":"https://api.github.com/users/kgoderis/orgs","repos_url":"https://api.github.com/users/kgoderis/repos","events_url":"https://api.github.com/users/kgoderis/events{/privacy}","received_events_url":"https://api.github.com/users/kgoderis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kgoderis/openhab2","description":"The next-generation open Home Automation Bus (openHAB)","fork":true,"url":"https://api.github.com/repos/kgoderis/openhab2","forks_url":"https://api.github.com/repos/kgoderis/openhab2/forks","keys_url":"https://api.github.com/repos/kgoderis/openhab2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kgoderis/openhab2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kgoderis/openhab2/teams","hooks_url":"https://api.github.com/repos/kgoderis/openhab2/hooks","issue_events_url":"https://api.github.com/repos/kgoderis/openhab2/issues/events{/number}","events_url":"https://api.github.com/repos/kgoderis/openhab2/events","assignees_url":"https://api.github.com/repos/kgoderis/openhab2/assignees{/user}","branches_url":"https://api.github.com/repos/kgoderis/openhab2/branches{/branch}","tags_url":"https://api.github.com/repos/kgoderis/openhab2/tags","blobs_url":"https://api.github.com/repos/kgoderis/openhab2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kgoderis/openhab2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kgoderis/openhab2/git/refs{/sha}","trees_url":"https://api.github.com/repos/kgoderis/openhab2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kgoderis/openhab2/statuses/{sha}","languages_url":"https://api.github.com/repos/kgoderis/openhab2/languages","stargazers_url":"https://api.github.com/repos/kgoderis/openhab2/stargazers","contributors_url":"https://api.github.com/repos/kgoderis/openhab2/contributors","subscribers_url":"https://api.github.com/repos/kgoderis/openhab2/subscribers","subscription_url":"https://api.github.com/repos/kgoderis/openhab2/subscription","commits_url":"https://api.github.com/repos/kgoderis/openhab2/commits{/sha}","git_commits_url":"https://api.github.com/repos/kgoderis/openhab2/git/commits{/sha}","comments_url":"https://api.github.com/repos/kgoderis/openhab2/comments{/number}","issue_comment_url":"https://api.github.com/repos/kgoderis/openhab2/issues/comments{/number}","contents_url":"https://api.github.com/repos/kgoderis/openhab2/contents/{+path}","compare_url":"https://api.github.com/repos/kgoderis/openhab2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kgoderis/openhab2/merges","archive_url":"https://api.github.com/repos/kgoderis/openhab2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kgoderis/openhab2/downloads","issues_url":"https://api.github.com/repos/kgoderis/openhab2/issues{/number}","pulls_url":"https://api.github.com/repos/kgoderis/openhab2/pulls{/number}","milestones_url":"https://api.github.com/repos/kgoderis/openhab2/milestones{/number}","notifications_url":"https://api.github.com/repos/kgoderis/openhab2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kgoderis/openhab2/labels{/name}","releases_url":"https://api.github.com/repos/kgoderis/openhab2/releases{/id}","deployments_url":"https://api.github.com/repos/kgoderis/openhab2/deployments","created_at":"2014-08-29T11:11:25Z","updated_at":"2016-02-29T09:50:36Z","pushed_at":"2016-03-17T07:58:35Z","git_url":"git://github.com/kgoderis/openhab2.git","ssh_url":"git@github.com:kgoderis/openhab2.git","clone_url":"https://github.com/kgoderis/openhab2.git","svn_url":"https://github.com/kgoderis/openhab2","homepage":null,"size":34210,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"openhab:master","ref":"master","sha":"a61031c8903b846e1b491df1813ac0432a20cf02","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-03-17T03:02:23Z","pushed_at":"2016-03-18T23:39:10Z","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":139998,"stargazers_count":364,"watchers_count":364,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":528,"mirror_url":null,"open_issues_count":63,"forks":528,"open_issues":63,"watchers":364,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/735"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/735"},"issue":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/735"},"comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/735/comments"},"review_comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/735/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/735/commits"},"statuses":{"href":"https://api.github.com/repos/openhab/openhab2-addons/statuses/0215a2a4a2e8cdb31063bcca732b2d4f108270fe"}}}}