{"action":"created","comment":{"url":"https://api.github.com/repos/openhab/openhab/pulls/comments/54332362","id":54332362,"diff_hunk":"@@ -0,0 +1,71 @@\n+/**\n+ * Copyright (c) 2010-2016, openHAB.org and others.\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.powermax;\n+\n+import org.openhab.binding.powermax.internal.PowerMaxSelectorType;\n+import org.openhab.core.binding.BindingConfig;\n+import org.openhab.core.items.Item;\n+\n+/**\n+ * Binding Configuration class. Represents a binding configuration in the items\n+ * file to a PowerMax Alarm system\n+ *\n+ * @author lolodomo\n+ * @since 1.9.0\n+ */\n+\n+public class PowerMaxBindingConfig implements BindingConfig {\n+\n+    private PowerMaxSelectorType selectorType;\n+    private String selectorParam;\n+    private Item item;","path":"bundles/binding/org.openhab.binding.powermax/src/main/java/org/openhab/binding/powermax/PowerMaxBindingConfig.java","position":27,"original_position":27,"commit_id":"43a3d4e65a9022acdcc8271b260a2a1000043f36","original_commit_id":"87d0b565f0e61306d8dce50e3d6459c8bed0ece2","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":"OK, suppressed","created_at":"2016-02-27T11:44:12Z","updated_at":"2016-02-27T11:44:12Z","html_url":"https://github.com/openhab/openhab/pull/4079#discussion_r54332362","pull_request_url":"https://api.github.com/repos/openhab/openhab/pulls/4079","_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab/pulls/comments/54332362"},"html":{"href":"https://github.com/openhab/openhab/pull/4079#discussion_r54332362"},"pull_request":{"href":"https://api.github.com/repos/openhab/openhab/pulls/4079"}}},"pull_request":{"url":"https://api.github.com/repos/openhab/openhab/pulls/4079","id":60050420,"html_url":"https://github.com/openhab/openhab/pull/4079","diff_url":"https://github.com/openhab/openhab/pull/4079.diff","patch_url":"https://github.com/openhab/openhab/pull/4079.patch","issue_url":"https://api.github.com/repos/openhab/openhab/issues/4079","number":4079,"state":"open","locked":false,"title":"Initial commit for new Powermax alarm binding","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":"Here is the finished 1.x version of my Powermax/Powermaster binding.\r\n\r\nFeedback from beta testers can be found [here](https://community.openhab.org/t/powermax-binding/2824)","created_at":"2016-02-20T15:04:30Z","updated_at":"2016-02-27T11:44:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openhab/openhab/pulls/4079/commits","review_comments_url":"https://api.github.com/repos/openhab/openhab/pulls/4079/comments","review_comment_url":"https://api.github.com/repos/openhab/openhab/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openhab/openhab/issues/4079/comments","statuses_url":"https://api.github.com/repos/openhab/openhab/statuses/43a3d4e65a9022acdcc8271b260a2a1000043f36","head":{"label":"lolodomo:powermax","ref":"powermax","sha":"43a3d4e65a9022acdcc8271b260a2a1000043f36","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},"repo":{"id":51026939,"name":"openhab","full_name":"lolodomo/openhab","owner":{"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},"private":false,"html_url":"https://github.com/lolodomo/openhab","description":"Source code of the open Home Automation Bus (openHAB)","fork":true,"url":"https://api.github.com/repos/lolodomo/openhab","forks_url":"https://api.github.com/repos/lolodomo/openhab/forks","keys_url":"https://api.github.com/repos/lolodomo/openhab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lolodomo/openhab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lolodomo/openhab/teams","hooks_url":"https://api.github.com/repos/lolodomo/openhab/hooks","issue_events_url":"https://api.github.com/repos/lolodomo/openhab/issues/events{/number}","events_url":"https://api.github.com/repos/lolodomo/openhab/events","assignees_url":"https://api.github.com/repos/lolodomo/openhab/assignees{/user}","branches_url":"https://api.github.com/repos/lolodomo/openhab/branches{/branch}","tags_url":"https://api.github.com/repos/lolodomo/openhab/tags","blobs_url":"https://api.github.com/repos/lolodomo/openhab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lolodomo/openhab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lolodomo/openhab/git/refs{/sha}","trees_url":"https://api.github.com/repos/lolodomo/openhab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lolodomo/openhab/statuses/{sha}","languages_url":"https://api.github.com/repos/lolodomo/openhab/languages","stargazers_url":"https://api.github.com/repos/lolodomo/openhab/stargazers","contributors_url":"https://api.github.com/repos/lolodomo/openhab/contributors","subscribers_url":"https://api.github.com/repos/lolodomo/openhab/subscribers","subscription_url":"https://api.github.com/repos/lolodomo/openhab/subscription","commits_url":"https://api.github.com/repos/lolodomo/openhab/commits{/sha}","git_commits_url":"https://api.github.com/repos/lolodomo/openhab/git/commits{/sha}","comments_url":"https://api.github.com/repos/lolodomo/openhab/comments{/number}","issue_comment_url":"https://api.github.com/repos/lolodomo/openhab/issues/comments{/number}","contents_url":"https://api.github.com/repos/lolodomo/openhab/contents/{+path}","compare_url":"https://api.github.com/repos/lolodomo/openhab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lolodomo/openhab/merges","archive_url":"https://api.github.com/repos/lolodomo/openhab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lolodomo/openhab/downloads","issues_url":"https://api.github.com/repos/lolodomo/openhab/issues{/number}","pulls_url":"https://api.github.com/repos/lolodomo/openhab/pulls{/number}","milestones_url":"https://api.github.com/repos/lolodomo/openhab/milestones{/number}","notifications_url":"https://api.github.com/repos/lolodomo/openhab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lolodomo/openhab/labels{/name}","releases_url":"https://api.github.com/repos/lolodomo/openhab/releases{/id}","deployments_url":"https://api.github.com/repos/lolodomo/openhab/deployments","created_at":"2016-02-03T20:05:57Z","updated_at":"2016-02-03T20:06:10Z","pushed_at":"2016-02-20T19:18:58Z","git_url":"git://github.com/lolodomo/openhab.git","ssh_url":"git@github.com:lolodomo/openhab.git","clone_url":"https://github.com/lolodomo/openhab.git","svn_url":"https://github.com/lolodomo/openhab","homepage":null,"size":189038,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"openhab:master","ref":"master","sha":"a3d8675bb6939370b5672813bb53ccaf7918dd9a","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":12983151,"name":"openhab","full_name":"openhab/openhab","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/openhab","description":"Source code of the open Home Automation Bus (openHAB)","fork":false,"url":"https://api.github.com/repos/openhab/openhab","forks_url":"https://api.github.com/repos/openhab/openhab/forks","keys_url":"https://api.github.com/repos/openhab/openhab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openhab/openhab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openhab/openhab/teams","hooks_url":"https://api.github.com/repos/openhab/openhab/hooks","issue_events_url":"https://api.github.com/repos/openhab/openhab/issues/events{/number}","events_url":"https://api.github.com/repos/openhab/openhab/events","assignees_url":"https://api.github.com/repos/openhab/openhab/assignees{/user}","branches_url":"https://api.github.com/repos/openhab/openhab/branches{/branch}","tags_url":"https://api.github.com/repos/openhab/openhab/tags","blobs_url":"https://api.github.com/repos/openhab/openhab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openhab/openhab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openhab/openhab/git/refs{/sha}","trees_url":"https://api.github.com/repos/openhab/openhab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openhab/openhab/statuses/{sha}","languages_url":"https://api.github.com/repos/openhab/openhab/languages","stargazers_url":"https://api.github.com/repos/openhab/openhab/stargazers","contributors_url":"https://api.github.com/repos/openhab/openhab/contributors","subscribers_url":"https://api.github.com/repos/openhab/openhab/subscribers","subscription_url":"https://api.github.com/repos/openhab/openhab/subscription","commits_url":"https://api.github.com/repos/openhab/openhab/commits{/sha}","git_commits_url":"https://api.github.com/repos/openhab/openhab/git/commits{/sha}","comments_url":"https://api.github.com/repos/openhab/openhab/comments{/number}","issue_comment_url":"https://api.github.com/repos/openhab/openhab/issues/comments{/number}","contents_url":"https://api.github.com/repos/openhab/openhab/contents/{+path}","compare_url":"https://api.github.com/repos/openhab/openhab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openhab/openhab/merges","archive_url":"https://api.github.com/repos/openhab/openhab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openhab/openhab/downloads","issues_url":"https://api.github.com/repos/openhab/openhab/issues{/number}","pulls_url":"https://api.github.com/repos/openhab/openhab/pulls{/number}","milestones_url":"https://api.github.com/repos/openhab/openhab/milestones{/number}","notifications_url":"https://api.github.com/repos/openhab/openhab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openhab/openhab/labels{/name}","releases_url":"https://api.github.com/repos/openhab/openhab/releases{/id}","deployments_url":"https://api.github.com/repos/openhab/openhab/deployments","created_at":"2013-09-20T20:28:43Z","updated_at":"2016-02-26T23:16:07Z","pushed_at":"2016-02-27T09:02:10Z","git_url":"git://github.com/openhab/openhab.git","ssh_url":"git@github.com:openhab/openhab.git","clone_url":"https://github.com/openhab/openhab.git","svn_url":"https://github.com/openhab/openhab","homepage":null,"size":271144,"stargazers_count":2312,"watchers_count":2312,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1220,"mirror_url":null,"open_issues_count":510,"forks":1220,"open_issues":510,"watchers":2312,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab/pulls/4079"},"html":{"href":"https://github.com/openhab/openhab/pull/4079"},"issue":{"href":"https://api.github.com/repos/openhab/openhab/issues/4079"},"comments":{"href":"https://api.github.com/repos/openhab/openhab/issues/4079/comments"},"review_comments":{"href":"https://api.github.com/repos/openhab/openhab/pulls/4079/comments"},"review_comment":{"href":"https://api.github.com/repos/openhab/openhab/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openhab/openhab/pulls/4079/commits"},"statuses":{"href":"https://api.github.com/repos/openhab/openhab/statuses/43a3d4e65a9022acdcc8271b260a2a1000043f36"}}}}