{"action":"created","comment":{"url":"https://api.github.com/repos/balloob/home-assistant/pulls/comments/51349204","id":51349204,"diff_hunk":"@@ -62,17 +64,17 @@ def log_message(service):\n         \"\"\" Handle sending notification message service calls. \"\"\"\n         message = service.data.get(ATTR_MESSAGE)\n         name = service.data.get(ATTR_NAME)\n-        domain = service.data.get(ATTR_DOMAIN, None)","path":"homeassistant/components/logbook.py","position":45,"original_position":45,"commit_id":"873a9a7ff938180bfb0cd23d32b9da16c6373bb3","original_commit_id":"873a9a7ff938180bfb0cd23d32b9da16c6373bb3","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},"body":"I don't see a reason to change this.","created_at":"2016-01-30T19:06:11Z","updated_at":"2016-01-30T19:06:11Z","html_url":"https://github.com/balloob/home-assistant/pull/1043#discussion_r51349204","pull_request_url":"https://api.github.com/repos/balloob/home-assistant/pulls/1043","_links":{"self":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/comments/51349204"},"html":{"href":"https://github.com/balloob/home-assistant/pull/1043#discussion_r51349204"},"pull_request":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1043"}}},"pull_request":{"url":"https://api.github.com/repos/balloob/home-assistant/pulls/1043","id":57696800,"html_url":"https://github.com/balloob/home-assistant/pull/1043","diff_url":"https://github.com/balloob/home-assistant/pull/1043.diff","patch_url":"https://github.com/balloob/home-assistant/pull/1043.patch","issue_url":"https://api.github.com/repos/balloob/home-assistant/issues/1043","number":1043,"state":"open","locked":false,"title":"Tested services for logbook","user":{"login":"kennedyshead","id":203370,"avatar_url":"https://avatars.githubusercontent.com/u/203370?v=3","gravatar_id":"","url":"https://api.github.com/users/kennedyshead","html_url":"https://github.com/kennedyshead","followers_url":"https://api.github.com/users/kennedyshead/followers","following_url":"https://api.github.com/users/kennedyshead/following{/other_user}","gists_url":"https://api.github.com/users/kennedyshead/gists{/gist_id}","starred_url":"https://api.github.com/users/kennedyshead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennedyshead/subscriptions","organizations_url":"https://api.github.com/users/kennedyshead/orgs","repos_url":"https://api.github.com/users/kennedyshead/repos","events_url":"https://api.github.com/users/kennedyshead/events{/privacy}","received_events_url":"https://api.github.com/users/kennedyshead/received_events","type":"User","site_admin":false},"body":"Adding a logservice for logbook","created_at":"2016-01-29T20:13:58Z","updated_at":"2016-01-30T19:06:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8cb4a768a3d8d2e94e21a5d2be6a00c505ea523","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/balloob/home-assistant/pulls/1043/commits","review_comments_url":"https://api.github.com/repos/balloob/home-assistant/pulls/1043/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/1043/comments","statuses_url":"https://api.github.com/repos/balloob/home-assistant/statuses/873a9a7ff938180bfb0cd23d32b9da16c6373bb3","head":{"label":"kennedyshead:unittest_logbook","ref":"unittest_logbook","sha":"873a9a7ff938180bfb0cd23d32b9da16c6373bb3","user":{"login":"kennedyshead","id":203370,"avatar_url":"https://avatars.githubusercontent.com/u/203370?v=3","gravatar_id":"","url":"https://api.github.com/users/kennedyshead","html_url":"https://github.com/kennedyshead","followers_url":"https://api.github.com/users/kennedyshead/followers","following_url":"https://api.github.com/users/kennedyshead/following{/other_user}","gists_url":"https://api.github.com/users/kennedyshead/gists{/gist_id}","starred_url":"https://api.github.com/users/kennedyshead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennedyshead/subscriptions","organizations_url":"https://api.github.com/users/kennedyshead/orgs","repos_url":"https://api.github.com/users/kennedyshead/repos","events_url":"https://api.github.com/users/kennedyshead/events{/privacy}","received_events_url":"https://api.github.com/users/kennedyshead/received_events","type":"User","site_admin":false},"repo":{"id":50416461,"name":"home-assistant","full_name":"kennedyshead/home-assistant","owner":{"login":"kennedyshead","id":203370,"avatar_url":"https://avatars.githubusercontent.com/u/203370?v=3","gravatar_id":"","url":"https://api.github.com/users/kennedyshead","html_url":"https://github.com/kennedyshead","followers_url":"https://api.github.com/users/kennedyshead/followers","following_url":"https://api.github.com/users/kennedyshead/following{/other_user}","gists_url":"https://api.github.com/users/kennedyshead/gists{/gist_id}","starred_url":"https://api.github.com/users/kennedyshead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennedyshead/subscriptions","organizations_url":"https://api.github.com/users/kennedyshead/orgs","repos_url":"https://api.github.com/users/kennedyshead/repos","events_url":"https://api.github.com/users/kennedyshead/events{/privacy}","received_events_url":"https://api.github.com/users/kennedyshead/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kennedyshead/home-assistant","description":"Open-source home automation platform running on Python 3","fork":true,"url":"https://api.github.com/repos/kennedyshead/home-assistant","forks_url":"https://api.github.com/repos/kennedyshead/home-assistant/forks","keys_url":"https://api.github.com/repos/kennedyshead/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kennedyshead/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kennedyshead/home-assistant/teams","hooks_url":"https://api.github.com/repos/kennedyshead/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/kennedyshead/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/kennedyshead/home-assistant/events","assignees_url":"https://api.github.com/repos/kennedyshead/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/kennedyshead/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/kennedyshead/home-assistant/tags","blobs_url":"https://api.github.com/repos/kennedyshead/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kennedyshead/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kennedyshead/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/kennedyshead/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kennedyshead/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/kennedyshead/home-assistant/languages","stargazers_url":"https://api.github.com/repos/kennedyshead/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/kennedyshead/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/kennedyshead/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/kennedyshead/home-assistant/subscription","commits_url":"https://api.github.com/repos/kennedyshead/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/kennedyshead/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/kennedyshead/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/kennedyshead/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/kennedyshead/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/kennedyshead/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kennedyshead/home-assistant/merges","archive_url":"https://api.github.com/repos/kennedyshead/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kennedyshead/home-assistant/downloads","issues_url":"https://api.github.com/repos/kennedyshead/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/kennedyshead/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/kennedyshead/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/kennedyshead/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kennedyshead/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/kennedyshead/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/kennedyshead/home-assistant/deployments","created_at":"2016-01-26T08:57:58Z","updated_at":"2016-01-26T08:58:00Z","pushed_at":"2016-01-30T14:06:23Z","git_url":"git://github.com/kennedyshead/home-assistant.git","ssh_url":"git@github.com:kennedyshead/home-assistant.git","clone_url":"https://github.com/kennedyshead/home-assistant.git","svn_url":"https://github.com/kennedyshead/home-assistant","homepage":"https://home-assistant.io","size":38100,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"balloob:dev","ref":"dev","sha":"10f9c049bb3d383f5ae575a1362cb56faad628b3","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":":house_with_garden: 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}","deployments_url":"https://api.github.com/repos/balloob/home-assistant/deployments","created_at":"2013-09-17T07:29:48Z","updated_at":"2016-01-30T09:05:07Z","pushed_at":"2016-01-30T18:23:41Z","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":39524,"stargazers_count":2656,"watchers_count":2656,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":406,"mirror_url":null,"open_issues_count":130,"forks":406,"open_issues":130,"watchers":2656,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1043"},"html":{"href":"https://github.com/balloob/home-assistant/pull/1043"},"issue":{"href":"https://api.github.com/repos/balloob/home-assistant/issues/1043"},"comments":{"href":"https://api.github.com/repos/balloob/home-assistant/issues/1043/comments"},"review_comments":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1043/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/1043/commits"},"statuses":{"href":"https://api.github.com/repos/balloob/home-assistant/statuses/873a9a7ff938180bfb0cd23d32b9da16c6373bb3"}}}}