{"action":"closed","number":107,"pull_request":{"url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/107","id":135388610,"html_url":"https://github.com/dresden-elektronik/deconz-rest-plugin/pull/107","diff_url":"https://github.com/dresden-elektronik/deconz-rest-plugin/pull/107.diff","patch_url":"https://github.com/dresden-elektronik/deconz-rest-plugin/pull/107.patch","issue_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/107","number":107,"state":"closed","locked":false,"title":"Enhancement CLIPLighLevel and ZHALight sensors","user":{"login":"ebaauw","id":22179355,"avatar_url":"https://avatars0.githubusercontent.com/u/22179355?v=4","gravatar_id":"","url":"https://api.github.com/users/ebaauw","html_url":"https://github.com/ebaauw","followers_url":"https://api.github.com/users/ebaauw/followers","following_url":"https://api.github.com/users/ebaauw/following{/other_user}","gists_url":"https://api.github.com/users/ebaauw/gists{/gist_id}","starred_url":"https://api.github.com/users/ebaauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebaauw/subscriptions","organizations_url":"https://api.github.com/users/ebaauw/orgs","repos_url":"https://api.github.com/users/ebaauw/repos","events_url":"https://api.github.com/users/ebaauw/events{/privacy}","received_events_url":"https://api.github.com/users/ebaauw/received_events","type":"User","site_admin":false},"body":"- Add support for CLIPLightLevel sensor;\n- Add support for `state.dark` and `state.daylight` to ZHALight and CLIPLightLevel sensors;\n- Add event notification for `state.dark` and `state.daylight` (only when these values are changed);\n- Only allow updates to `state.lightlevel`, as `state.lux`, `state.dark`, and `state.daylight` are computed.\n- TODO: `config.tholddark` and `config.tholdoffset`.  For now these are hard-coded to 12000 and 4000.","created_at":"2017-08-11T18:04:26Z","updated_at":"2017-08-11T20:19:57Z","closed_at":"2017-08-11T20:19:57Z","merged_at":"2017-08-11T20:19:57Z","merge_commit_sha":"2ccfce1173cda7656dbd993b8861b75ab3af41ee","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/107/commits","review_comments_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/107/comments","review_comment_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/107/comments","statuses_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/statuses/d5aac0fd3fd4a888d8fe20e7401b9a3fa4945fdb","head":{"label":"ebaauw:master","ref":"master","sha":"d5aac0fd3fd4a888d8fe20e7401b9a3fa4945fdb","user":{"login":"ebaauw","id":22179355,"avatar_url":"https://avatars0.githubusercontent.com/u/22179355?v=4","gravatar_id":"","url":"https://api.github.com/users/ebaauw","html_url":"https://github.com/ebaauw","followers_url":"https://api.github.com/users/ebaauw/followers","following_url":"https://api.github.com/users/ebaauw/following{/other_user}","gists_url":"https://api.github.com/users/ebaauw/gists{/gist_id}","starred_url":"https://api.github.com/users/ebaauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebaauw/subscriptions","organizations_url":"https://api.github.com/users/ebaauw/orgs","repos_url":"https://api.github.com/users/ebaauw/repos","events_url":"https://api.github.com/users/ebaauw/events{/privacy}","received_events_url":"https://api.github.com/users/ebaauw/received_events","type":"User","site_admin":false},"repo":{"id":100018972,"name":"deconz-rest-plugin","full_name":"ebaauw/deconz-rest-plugin","owner":{"login":"ebaauw","id":22179355,"avatar_url":"https://avatars0.githubusercontent.com/u/22179355?v=4","gravatar_id":"","url":"https://api.github.com/users/ebaauw","html_url":"https://github.com/ebaauw","followers_url":"https://api.github.com/users/ebaauw/followers","following_url":"https://api.github.com/users/ebaauw/following{/other_user}","gists_url":"https://api.github.com/users/ebaauw/gists{/gist_id}","starred_url":"https://api.github.com/users/ebaauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebaauw/subscriptions","organizations_url":"https://api.github.com/users/ebaauw/orgs","repos_url":"https://api.github.com/users/ebaauw/repos","events_url":"https://api.github.com/users/ebaauw/events{/privacy}","received_events_url":"https://api.github.com/users/ebaauw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ebaauw/deconz-rest-plugin","description":"REST API Plugin to control ZigBee lights like Philips Hue and dresden elektroniks wireless electronic ballasts","fork":true,"url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin","forks_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/forks","keys_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/teams","hooks_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/hooks","issue_events_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/events","assignees_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/tags","blobs_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/languages","stargazers_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/stargazers","contributors_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/contributors","subscribers_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/subscribers","subscription_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/subscription","commits_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/merges","archive_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/downloads","issues_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/labels{/name}","releases_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/ebaauw/deconz-rest-plugin/deployments","created_at":"2017-08-11T10:04:43Z","updated_at":"2017-08-11T10:04:45Z","pushed_at":"2017-08-11T18:02:15Z","git_url":"git://github.com/ebaauw/deconz-rest-plugin.git","ssh_url":"git@github.com:ebaauw/deconz-rest-plugin.git","clone_url":"https://github.com/ebaauw/deconz-rest-plugin.git","svn_url":"https://github.com/ebaauw/deconz-rest-plugin","homepage":"","size":2839,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"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":"dresden-elektronik:master","ref":"master","sha":"69b9fa211cd4770afd812ce69eb46cecf2fd4ce8","user":{"login":"dresden-elektronik","id":4217524,"avatar_url":"https://avatars2.githubusercontent.com/u/4217524?v=4","gravatar_id":"","url":"https://api.github.com/users/dresden-elektronik","html_url":"https://github.com/dresden-elektronik","followers_url":"https://api.github.com/users/dresden-elektronik/followers","following_url":"https://api.github.com/users/dresden-elektronik/following{/other_user}","gists_url":"https://api.github.com/users/dresden-elektronik/gists{/gist_id}","starred_url":"https://api.github.com/users/dresden-elektronik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dresden-elektronik/subscriptions","organizations_url":"https://api.github.com/users/dresden-elektronik/orgs","repos_url":"https://api.github.com/users/dresden-elektronik/repos","events_url":"https://api.github.com/users/dresden-elektronik/events{/privacy}","received_events_url":"https://api.github.com/users/dresden-elektronik/received_events","type":"Organization","site_admin":false},"repo":{"id":11526715,"name":"deconz-rest-plugin","full_name":"dresden-elektronik/deconz-rest-plugin","owner":{"login":"dresden-elektronik","id":4217524,"avatar_url":"https://avatars2.githubusercontent.com/u/4217524?v=4","gravatar_id":"","url":"https://api.github.com/users/dresden-elektronik","html_url":"https://github.com/dresden-elektronik","followers_url":"https://api.github.com/users/dresden-elektronik/followers","following_url":"https://api.github.com/users/dresden-elektronik/following{/other_user}","gists_url":"https://api.github.com/users/dresden-elektronik/gists{/gist_id}","starred_url":"https://api.github.com/users/dresden-elektronik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dresden-elektronik/subscriptions","organizations_url":"https://api.github.com/users/dresden-elektronik/orgs","repos_url":"https://api.github.com/users/dresden-elektronik/repos","events_url":"https://api.github.com/users/dresden-elektronik/events{/privacy}","received_events_url":"https://api.github.com/users/dresden-elektronik/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dresden-elektronik/deconz-rest-plugin","description":"REST API Plugin to control ZigBee lights like Philips Hue and dresden elektroniks wireless electronic ballasts","fork":false,"url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin","forks_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/forks","keys_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/teams","hooks_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/hooks","issue_events_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/events","assignees_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/tags","blobs_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/languages","stargazers_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/stargazers","contributors_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/contributors","subscribers_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/subscribers","subscription_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/subscription","commits_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/merges","archive_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/downloads","issues_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/labels{/name}","releases_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/deployments","created_at":"2013-07-19T11:41:54Z","updated_at":"2017-08-07T20:03:55Z","pushed_at":"2017-08-11T20:19:57Z","git_url":"git://github.com/dresden-elektronik/deconz-rest-plugin.git","ssh_url":"git@github.com:dresden-elektronik/deconz-rest-plugin.git","clone_url":"https://github.com/dresden-elektronik/deconz-rest-plugin.git","svn_url":"https://github.com/dresden-elektronik/deconz-rest-plugin","homepage":"","size":2764,"stargazers_count":44,"watchers_count":44,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":57,"forks":22,"open_issues":57,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/107"},"html":{"href":"https://github.com/dresden-elektronik/deconz-rest-plugin/pull/107"},"issue":{"href":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/107"},"comments":{"href":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/107/comments"},"review_comments":{"href":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/107/comments"},"review_comment":{"href":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/107/commits"},"statuses":{"href":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/statuses/d5aac0fd3fd4a888d8fe20e7401b9a3fa4945fdb"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"manup","id":383386,"avatar_url":"https://avatars3.githubusercontent.com/u/383386?v=4","gravatar_id":"","url":"https://api.github.com/users/manup","html_url":"https://github.com/manup","followers_url":"https://api.github.com/users/manup/followers","following_url":"https://api.github.com/users/manup/following{/other_user}","gists_url":"https://api.github.com/users/manup/gists{/gist_id}","starred_url":"https://api.github.com/users/manup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manup/subscriptions","organizations_url":"https://api.github.com/users/manup/orgs","repos_url":"https://api.github.com/users/manup/repos","events_url":"https://api.github.com/users/manup/events{/privacy}","received_events_url":"https://api.github.com/users/manup/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":138,"deletions":7,"changed_files":3}}
{"actor":{"display_login":"manup"}}