{"action":"closed","number":315,"pull_request":{"url":"https://api.github.com/repos/balloob/home-assistant/pulls/315","id":44144240,"html_url":"https://github.com/balloob/home-assistant/pull/315","diff_url":"https://github.com/balloob/home-assistant/pull/315.diff","patch_url":"https://github.com/balloob/home-assistant/pull/315.patch","issue_url":"https://api.github.com/repos/balloob/home-assistant/issues/315","number":315,"state":"closed","locked":false,"title":"Added sort order config option to logbook component","user":{"login":"theolind","id":5261349,"avatar_url":"https://avatars.githubusercontent.com/u/5261349?v=3","gravatar_id":"","url":"https://api.github.com/users/theolind","html_url":"https://github.com/theolind","followers_url":"https://api.github.com/users/theolind/followers","following_url":"https://api.github.com/users/theolind/following{/other_user}","gists_url":"https://api.github.com/users/theolind/gists{/gist_id}","starred_url":"https://api.github.com/users/theolind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theolind/subscriptions","organizations_url":"https://api.github.com/users/theolind/orgs","repos_url":"https://api.github.com/users/theolind/repos","events_url":"https://api.github.com/users/theolind/events{/privacy}","received_events_url":"https://api.github.com/users/theolind/received_events","type":"User","site_admin":false},"body":"Moved the _handle_get_logbook function inside the setup function to allow access to config. Also added a new query and a config option to select which sort order to use. This solves issue #288.","created_at":"2015-09-03T19:01:18Z","updated_at":"2015-09-03T21:37:01Z","closed_at":"2015-09-03T21:37:00Z","merged_at":null,"merge_commit_sha":"5bc8c7957c92b9e41cb17e33d8017d97cee5ab77","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/balloob/home-assistant/pulls/315/commits","review_comments_url":"https://api.github.com/repos/balloob/home-assistant/pulls/315/comments","review_comment_url":"https://api.github.com/repos/balloob/home-assistant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/balloob/home-assistant/issues/315/comments","statuses_url":"https://api.github.com/repos/balloob/home-assistant/statuses/d2060570d032126605a9ac41d42babf5aba2ca00","head":{"label":"theolind:dev","ref":"dev","sha":"d2060570d032126605a9ac41d42babf5aba2ca00","user":{"login":"theolind","id":5261349,"avatar_url":"https://avatars.githubusercontent.com/u/5261349?v=3","gravatar_id":"","url":"https://api.github.com/users/theolind","html_url":"https://github.com/theolind","followers_url":"https://api.github.com/users/theolind/followers","following_url":"https://api.github.com/users/theolind/following{/other_user}","gists_url":"https://api.github.com/users/theolind/gists{/gist_id}","starred_url":"https://api.github.com/users/theolind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theolind/subscriptions","organizations_url":"https://api.github.com/users/theolind/orgs","repos_url":"https://api.github.com/users/theolind/repos","events_url":"https://api.github.com/users/theolind/events{/privacy}","received_events_url":"https://api.github.com/users/theolind/received_events","type":"User","site_admin":false},"repo":{"id":31466943,"name":"home-assistant","full_name":"theolind/home-assistant","owner":{"login":"theolind","id":5261349,"avatar_url":"https://avatars.githubusercontent.com/u/5261349?v=3","gravatar_id":"","url":"https://api.github.com/users/theolind","html_url":"https://github.com/theolind","followers_url":"https://api.github.com/users/theolind/followers","following_url":"https://api.github.com/users/theolind/following{/other_user}","gists_url":"https://api.github.com/users/theolind/gists{/gist_id}","starred_url":"https://api.github.com/users/theolind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theolind/subscriptions","organizations_url":"https://api.github.com/users/theolind/orgs","repos_url":"https://api.github.com/users/theolind/repos","events_url":"https://api.github.com/users/theolind/events{/privacy}","received_events_url":"https://api.github.com/users/theolind/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/theolind/home-assistant","description":"Open-source home automation platform running on Python 3","fork":true,"url":"https://api.github.com/repos/theolind/home-assistant","forks_url":"https://api.github.com/repos/theolind/home-assistant/forks","keys_url":"https://api.github.com/repos/theolind/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theolind/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theolind/home-assistant/teams","hooks_url":"https://api.github.com/repos/theolind/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/theolind/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/theolind/home-assistant/events","assignees_url":"https://api.github.com/repos/theolind/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/theolind/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/theolind/home-assistant/tags","blobs_url":"https://api.github.com/repos/theolind/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theolind/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theolind/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/theolind/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theolind/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/theolind/home-assistant/languages","stargazers_url":"https://api.github.com/repos/theolind/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/theolind/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/theolind/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/theolind/home-assistant/subscription","commits_url":"https://api.github.com/repos/theolind/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/theolind/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/theolind/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/theolind/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/theolind/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/theolind/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theolind/home-assistant/merges","archive_url":"https://api.github.com/repos/theolind/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theolind/home-assistant/downloads","issues_url":"https://api.github.com/repos/theolind/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/theolind/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/theolind/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/theolind/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theolind/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/theolind/home-assistant/releases{/id}","created_at":"2015-02-28T15:45:02Z","updated_at":"2015-04-02T17:34:02Z","pushed_at":"2015-09-03T19:08:44Z","git_url":"git://github.com/theolind/home-assistant.git","ssh_url":"git@github.com:theolind/home-assistant.git","clone_url":"https://github.com/theolind/home-assistant.git","svn_url":"https://github.com/theolind/home-assistant","homepage":"https://home-assistant.io","size":15745,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"balloob:dev","ref":"dev","sha":"97e19908be41943997cab0346f28b17aa96bf260","user":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"repo":{"id":12888993,"name":"home-assistant","full_name":"balloob/home-assistant","owner":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/balloob/home-assistant","description":"Open-source home automation platform running on Python 3","fork":false,"url":"https://api.github.com/repos/balloob/home-assistant","forks_url":"https://api.github.com/repos/balloob/home-assistant/forks","keys_url":"https://api.github.com/repos/balloob/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/balloob/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/balloob/home-assistant/teams","hooks_url":"https://api.github.com/repos/balloob/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/balloob/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/balloob/home-assistant/events","assignees_url":"https://api.github.com/repos/balloob/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/balloob/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/balloob/home-assistant/tags","blobs_url":"https://api.github.com/repos/balloob/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/balloob/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/balloob/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/balloob/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/balloob/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/balloob/home-assistant/languages","stargazers_url":"https://api.github.com/repos/balloob/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/balloob/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/balloob/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/balloob/home-assistant/subscription","commits_url":"https://api.github.com/repos/balloob/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/balloob/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/balloob/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/balloob/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/balloob/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/balloob/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/balloob/home-assistant/merges","archive_url":"https://api.github.com/repos/balloob/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/balloob/home-assistant/downloads","issues_url":"https://api.github.com/repos/balloob/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/balloob/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/balloob/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/balloob/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/balloob/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/balloob/home-assistant/releases{/id}","created_at":"2013-09-17T07:29:48Z","updated_at":"2015-09-03T15:36:37Z","pushed_at":"2015-09-03T20:10:42Z","git_url":"git://github.com/balloob/home-assistant.git","ssh_url":"git@github.com:balloob/home-assistant.git","clone_url":"https://github.com/balloob/home-assistant.git","svn_url":"https://github.com/balloob/home-assistant","homepage":"https://home-assistant.io","size":25137,"stargazers_count":2041,"watchers_count":2041,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":231,"mirror_url":null,"open_issues_count":26,"forks":231,"open_issues":26,"watchers":2041,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/315"},"html":{"href":"https://github.com/balloob/home-assistant/pull/315"},"issue":{"href":"https://api.github.com/repos/balloob/home-assistant/issues/315"},"comments":{"href":"https://api.github.com/repos/balloob/home-assistant/issues/315/comments"},"review_comments":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/315/comments"},"review_comment":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/315/commits"},"statuses":{"href":"https://api.github.com/repos/balloob/home-assistant/statuses/d2060570d032126605a9ac41d42babf5aba2ca00"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"commits":3,"additions":35,"deletions":18,"changed_files":1}}