{"action":"closed","number":576,"pull_request":{"url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/576","id":186146965,"html_url":"https://github.com/dresden-elektronik/deconz-rest-plugin/pull/576","diff_url":"https://github.com/dresden-elektronik/deconz-rest-plugin/pull/576.diff","patch_url":"https://github.com/dresden-elektronik/deconz-rest-plugin/pull/576.patch","issue_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/576","number":576,"state":"closed","locked":false,"title":"Daylight sensor","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":"- Don't restore Daylight sensor's `state` from database (so it will be set on deCONZ startup, in line with Hue bridge behaviour);\r\n- Add support for `state.dark`, which is true from dusk (+ sunriseoffset) untill dawn (+ sunsetoffset), see #73.\r\n- Fix triggering rules by adding events for `state.daylight` and `state.lastupdated`, see #471.\r\n\r\nNote: I'm still running some overnight tests...  **EDIT**: tests seem fine, PR is good to go.","created_at":"2018-05-05T08:49:34Z","updated_at":"2018-05-07T17:39:45Z","closed_at":"2018-05-07T17:39:45Z","merged_at":"2018-05-07T17:39:45Z","merge_commit_sha":"75e9ef011c92b23122f2de2bcc79e726ad4e2c28","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/576/commits","review_comments_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/576/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/576/comments","statuses_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/statuses/75e9ef011c92b23122f2de2bcc79e726ad4e2c28","head":{"label":"ebaauw:master","ref":"master","sha":"75e9ef011c92b23122f2de2bcc79e726ad4e2c28","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":131253083,"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":"2018-04-27T06:09:22Z","updated_at":"2018-05-05T08:47:56Z","pushed_at":"2018-05-05T08:47:54Z","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":5128,"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,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dresden-elektronik:master","ref":"master","sha":"43f8883ef23b668f1e763d0052954983d1ac0f3f","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":"2018-05-05T16:23:19Z","pushed_at":"2018-05-07T17:39:44Z","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":4959,"stargazers_count":183,"watchers_count":183,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"archived":false,"open_issues_count":266,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":54,"open_issues":266,"watchers":183,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/576"},"html":{"href":"https://github.com/dresden-elektronik/deconz-rest-plugin/pull/576"},"issue":{"href":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/576"},"comments":{"href":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/576/comments"},"review_comments":{"href":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/pulls/576/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/576/commits"},"statuses":{"href":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/statuses/75e9ef011c92b23122f2de2bcc79e726ad4e2c28"}},"author_association":"CONTRIBUTOR","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":0,"review_comments":0,"maintainer_can_modify":false,"commits":9,"additions":42,"deletions":7,"changed_files":2}}
{"actor":{"display_login":"manup"}}