{"action":"created","comment":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/173295724","pull_request_review_id":102464305,"id":173295724,"diff_hunk":"@@ -483,6 +461,17 @@ private boolean isLightPresent() {\n         return false;\n     }\n \n+    private static final StringType LIGHT_COLOR = new StringType(\"COLOR\");\n+\n+    private boolean isLightColor() {\n+        if (fanStateMap.containsKey(CHANNEL_LIGHT_COLOR)) {","path":"addons/binding/org.openhab.binding.bigassfan/src/main/java/org/openhab/binding/bigassfan/handler/BigAssFanHandler.java","position":232,"original_position":232,"commit_id":"c389502f8e7731298dd2c21c523b14be0f42ae08","original_commit_id":"c389502f8e7731298dd2c21c523b14be0f42ae08","user":{"login":"mhilbush","id":19286354,"avatar_url":"https://avatars2.githubusercontent.com/u/19286354?v=4","gravatar_id":"","url":"https://api.github.com/users/mhilbush","html_url":"https://github.com/mhilbush","followers_url":"https://api.github.com/users/mhilbush/followers","following_url":"https://api.github.com/users/mhilbush/following{/other_user}","gists_url":"https://api.github.com/users/mhilbush/gists{/gist_id}","starred_url":"https://api.github.com/users/mhilbush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhilbush/subscriptions","organizations_url":"https://api.github.com/users/mhilbush/orgs","repos_url":"https://api.github.com/users/mhilbush/repos","events_url":"https://api.github.com/users/mhilbush/events{/privacy}","received_events_url":"https://api.github.com/users/mhilbush/received_events","type":"User","site_admin":false},"body":"> Note that I also inverted the equals to make it more null-safe\r\n\r\nGood catch. Thanks.\r\n","created_at":"2018-03-08T21:24:12Z","updated_at":"2018-03-08T21:24:12Z","html_url":"https://github.com/openhab/openhab2-addons/pull/3303#discussion_r173295724","pull_request_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/3303","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/173295724"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/3303#discussion_r173295724"},"pull_request":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/3303"}},"in_reply_to_id":173277330},"pull_request":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/3303","id":173822942,"html_url":"https://github.com/openhab/openhab2-addons/pull/3303","diff_url":"https://github.com/openhab/openhab2-addons/pull/3303.diff","patch_url":"https://github.com/openhab/openhab2-addons/pull/3303.patch","issue_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/3303","number":3303,"state":"open","locked":false,"title":"[bigassfan] Add support for standalone lights","user":{"login":"mhilbush","id":19286354,"avatar_url":"https://avatars2.githubusercontent.com/u/19286354?v=4","gravatar_id":"","url":"https://api.github.com/users/mhilbush","html_url":"https://github.com/mhilbush","followers_url":"https://api.github.com/users/mhilbush/followers","following_url":"https://api.github.com/users/mhilbush/following{/other_user}","gists_url":"https://api.github.com/users/mhilbush/gists{/gist_id}","starred_url":"https://api.github.com/users/mhilbush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhilbush/subscriptions","organizations_url":"https://api.github.com/users/mhilbush/orgs","repos_url":"https://api.github.com/users/mhilbush/repos","events_url":"https://api.github.com/users/mhilbush/events{/privacy}","received_events_url":"https://api.github.com/users/mhilbush/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Mark Hilbush <mark@hilbush.com>\r\n\r\n- Add support for standalone lights, including ON/OFF, brightness level, and color temperature. See community discussion [here](https://community.openhab.org/t/haiku-light-with-bigassfan-binding/41226/3).\r\n\r\n- Refactor config parameters into separate config.xml.\r\n\r\n- Fix issues from code analysis\r\n","created_at":"2018-03-08T19:08:41Z","updated_at":"2018-03-08T21:24:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88d4c112970b7d9c84a635a67d4b58732868eb80","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/3303/commits","review_comments_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/3303/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/3303/comments","statuses_url":"https://api.github.com/repos/openhab/openhab2-addons/statuses/c389502f8e7731298dd2c21c523b14be0f42ae08","head":{"label":"mhilbush:bigassfan-light","ref":"bigassfan-light","sha":"c389502f8e7731298dd2c21c523b14be0f42ae08","user":{"login":"mhilbush","id":19286354,"avatar_url":"https://avatars2.githubusercontent.com/u/19286354?v=4","gravatar_id":"","url":"https://api.github.com/users/mhilbush","html_url":"https://github.com/mhilbush","followers_url":"https://api.github.com/users/mhilbush/followers","following_url":"https://api.github.com/users/mhilbush/following{/other_user}","gists_url":"https://api.github.com/users/mhilbush/gists{/gist_id}","starred_url":"https://api.github.com/users/mhilbush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhilbush/subscriptions","organizations_url":"https://api.github.com/users/mhilbush/orgs","repos_url":"https://api.github.com/users/mhilbush/repos","events_url":"https://api.github.com/users/mhilbush/events{/privacy}","received_events_url":"https://api.github.com/users/mhilbush/received_events","type":"User","site_admin":false},"repo":{"id":65158647,"name":"openhab2-addons","full_name":"mhilbush/openhab2-addons","owner":{"login":"mhilbush","id":19286354,"avatar_url":"https://avatars2.githubusercontent.com/u/19286354?v=4","gravatar_id":"","url":"https://api.github.com/users/mhilbush","html_url":"https://github.com/mhilbush","followers_url":"https://api.github.com/users/mhilbush/followers","following_url":"https://api.github.com/users/mhilbush/following{/other_user}","gists_url":"https://api.github.com/users/mhilbush/gists{/gist_id}","starred_url":"https://api.github.com/users/mhilbush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhilbush/subscriptions","organizations_url":"https://api.github.com/users/mhilbush/orgs","repos_url":"https://api.github.com/users/mhilbush/repos","events_url":"https://api.github.com/users/mhilbush/events{/privacy}","received_events_url":"https://api.github.com/users/mhilbush/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mhilbush/openhab2-addons","description":"The next-generation open Home Automation Bus (openHAB)","fork":true,"url":"https://api.github.com/repos/mhilbush/openhab2-addons","forks_url":"https://api.github.com/repos/mhilbush/openhab2-addons/forks","keys_url":"https://api.github.com/repos/mhilbush/openhab2-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mhilbush/openhab2-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mhilbush/openhab2-addons/teams","hooks_url":"https://api.github.com/repos/mhilbush/openhab2-addons/hooks","issue_events_url":"https://api.github.com/repos/mhilbush/openhab2-addons/issues/events{/number}","events_url":"https://api.github.com/repos/mhilbush/openhab2-addons/events","assignees_url":"https://api.github.com/repos/mhilbush/openhab2-addons/assignees{/user}","branches_url":"https://api.github.com/repos/mhilbush/openhab2-addons/branches{/branch}","tags_url":"https://api.github.com/repos/mhilbush/openhab2-addons/tags","blobs_url":"https://api.github.com/repos/mhilbush/openhab2-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mhilbush/openhab2-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mhilbush/openhab2-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/mhilbush/openhab2-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mhilbush/openhab2-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/mhilbush/openhab2-addons/languages","stargazers_url":"https://api.github.com/repos/mhilbush/openhab2-addons/stargazers","contributors_url":"https://api.github.com/repos/mhilbush/openhab2-addons/contributors","subscribers_url":"https://api.github.com/repos/mhilbush/openhab2-addons/subscribers","subscription_url":"https://api.github.com/repos/mhilbush/openhab2-addons/subscription","commits_url":"https://api.github.com/repos/mhilbush/openhab2-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/mhilbush/openhab2-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/mhilbush/openhab2-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/mhilbush/openhab2-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/mhilbush/openhab2-addons/contents/{+path}","compare_url":"https://api.github.com/repos/mhilbush/openhab2-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mhilbush/openhab2-addons/merges","archive_url":"https://api.github.com/repos/mhilbush/openhab2-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mhilbush/openhab2-addons/downloads","issues_url":"https://api.github.com/repos/mhilbush/openhab2-addons/issues{/number}","pulls_url":"https://api.github.com/repos/mhilbush/openhab2-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/mhilbush/openhab2-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/mhilbush/openhab2-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mhilbush/openhab2-addons/labels{/name}","releases_url":"https://api.github.com/repos/mhilbush/openhab2-addons/releases{/id}","deployments_url":"https://api.github.com/repos/mhilbush/openhab2-addons/deployments","created_at":"2016-08-07T23:23:22Z","updated_at":"2016-08-07T23:23:26Z","pushed_at":"2018-03-08T19:01:02Z","git_url":"git://github.com/mhilbush/openhab2-addons.git","ssh_url":"git@github.com:mhilbush/openhab2-addons.git","clone_url":"https://github.com/mhilbush/openhab2-addons.git","svn_url":"https://github.com/mhilbush/openhab2-addons","homepage":null,"size":92787,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"openhab:master","ref":"master","sha":"c8d1f96aab0540a855315dae5a2a709fc984003c","user":{"login":"openhab","id":1007353,"avatar_url":"https://avatars0.githubusercontent.com/u/1007353?v=4","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://avatars0.githubusercontent.com/u/1007353?v=4","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":"Add-ons for openHAB 2.x","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":"2018-03-07T20:30:19Z","pushed_at":"2018-03-08T21:18:16Z","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":"","size":267855,"stargazers_count":745,"watchers_count":745,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1377,"mirror_url":null,"archived":false,"open_issues_count":457,"license":{"key":"epl-1.0","name":"Eclipse Public License 1.0","spdx_id":"EPL-1.0","url":"https://api.github.com/licenses/epl-1.0"},"forks":1377,"open_issues":457,"watchers":745,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/3303"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/3303"},"issue":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/3303"},"comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/3303/comments"},"review_comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/3303/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/3303/commits"},"statuses":{"href":"https://api.github.com/repos/openhab/openhab2-addons/statuses/c389502f8e7731298dd2c21c523b14be0f42ae08"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mhilbush"}}