{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/kissiel/bt_helper/pulls/1","id":63336638,"html_url":"https://github.com/kissiel/bt_helper/pull/1","diff_url":"https://github.com/kissiel/bt_helper/pull/1.diff","patch_url":"https://github.com/kissiel/bt_helper/pull/1.patch","issue_url":"https://api.github.com/repos/kissiel/bt_helper/issues/1","number":1,"state":"open","locked":false,"title":"Add exception handler to power-on action.","user":{"login":"Cypresslin","id":4279327,"avatar_url":"https://avatars.githubusercontent.com/u/4279327?v=3","gravatar_id":"","url":"https://api.github.com/users/Cypresslin","html_url":"https://github.com/Cypresslin","followers_url":"https://api.github.com/users/Cypresslin/followers","following_url":"https://api.github.com/users/Cypresslin/following{/other_user}","gists_url":"https://api.github.com/users/Cypresslin/gists{/gist_id}","starred_url":"https://api.github.com/users/Cypresslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cypresslin/subscriptions","organizations_url":"https://api.github.com/users/Cypresslin/orgs","repos_url":"https://api.github.com/users/Cypresslin/repos","events_url":"https://api.github.com/users/Cypresslin/events{/privacy}","received_events_url":"https://api.github.com/users/Cypresslin/received_events","type":"User","site_admin":false},"body":"Add an exception handler to deal with those unexpected situations, e.g. device blocked.\r\n\r\nFor blocked devices, we can even use rfkill unblock all to unblock them.","created_at":"2016-03-18T07:23:46Z","updated_at":"2016-03-18T07:23:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kissiel/bt_helper/pulls/1/commits","review_comments_url":"https://api.github.com/repos/kissiel/bt_helper/pulls/1/comments","review_comment_url":"https://api.github.com/repos/kissiel/bt_helper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kissiel/bt_helper/issues/1/comments","statuses_url":"https://api.github.com/repos/kissiel/bt_helper/statuses/e66286aca926fc4114ccb0c7b6aa55bbba799bc7","head":{"label":"Cypresslin:master","ref":"master","sha":"e66286aca926fc4114ccb0c7b6aa55bbba799bc7","user":{"login":"Cypresslin","id":4279327,"avatar_url":"https://avatars.githubusercontent.com/u/4279327?v=3","gravatar_id":"","url":"https://api.github.com/users/Cypresslin","html_url":"https://github.com/Cypresslin","followers_url":"https://api.github.com/users/Cypresslin/followers","following_url":"https://api.github.com/users/Cypresslin/following{/other_user}","gists_url":"https://api.github.com/users/Cypresslin/gists{/gist_id}","starred_url":"https://api.github.com/users/Cypresslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cypresslin/subscriptions","organizations_url":"https://api.github.com/users/Cypresslin/orgs","repos_url":"https://api.github.com/users/Cypresslin/repos","events_url":"https://api.github.com/users/Cypresslin/events{/privacy}","received_events_url":"https://api.github.com/users/Cypresslin/received_events","type":"User","site_admin":false},"repo":{"id":54173580,"name":"bt_helper","full_name":"Cypresslin/bt_helper","owner":{"login":"Cypresslin","id":4279327,"avatar_url":"https://avatars.githubusercontent.com/u/4279327?v=3","gravatar_id":"","url":"https://api.github.com/users/Cypresslin","html_url":"https://github.com/Cypresslin","followers_url":"https://api.github.com/users/Cypresslin/followers","following_url":"https://api.github.com/users/Cypresslin/following{/other_user}","gists_url":"https://api.github.com/users/Cypresslin/gists{/gist_id}","starred_url":"https://api.github.com/users/Cypresslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cypresslin/subscriptions","organizations_url":"https://api.github.com/users/Cypresslin/orgs","repos_url":"https://api.github.com/users/Cypresslin/repos","events_url":"https://api.github.com/users/Cypresslin/events{/privacy}","received_events_url":"https://api.github.com/users/Cypresslin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Cypresslin/bt_helper","description":"Human-friendly Bluetooth API wrapping bluez over dbus.","fork":true,"url":"https://api.github.com/repos/Cypresslin/bt_helper","forks_url":"https://api.github.com/repos/Cypresslin/bt_helper/forks","keys_url":"https://api.github.com/repos/Cypresslin/bt_helper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cypresslin/bt_helper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cypresslin/bt_helper/teams","hooks_url":"https://api.github.com/repos/Cypresslin/bt_helper/hooks","issue_events_url":"https://api.github.com/repos/Cypresslin/bt_helper/issues/events{/number}","events_url":"https://api.github.com/repos/Cypresslin/bt_helper/events","assignees_url":"https://api.github.com/repos/Cypresslin/bt_helper/assignees{/user}","branches_url":"https://api.github.com/repos/Cypresslin/bt_helper/branches{/branch}","tags_url":"https://api.github.com/repos/Cypresslin/bt_helper/tags","blobs_url":"https://api.github.com/repos/Cypresslin/bt_helper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cypresslin/bt_helper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cypresslin/bt_helper/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cypresslin/bt_helper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cypresslin/bt_helper/statuses/{sha}","languages_url":"https://api.github.com/repos/Cypresslin/bt_helper/languages","stargazers_url":"https://api.github.com/repos/Cypresslin/bt_helper/stargazers","contributors_url":"https://api.github.com/repos/Cypresslin/bt_helper/contributors","subscribers_url":"https://api.github.com/repos/Cypresslin/bt_helper/subscribers","subscription_url":"https://api.github.com/repos/Cypresslin/bt_helper/subscription","commits_url":"https://api.github.com/repos/Cypresslin/bt_helper/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cypresslin/bt_helper/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cypresslin/bt_helper/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cypresslin/bt_helper/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cypresslin/bt_helper/contents/{+path}","compare_url":"https://api.github.com/repos/Cypresslin/bt_helper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cypresslin/bt_helper/merges","archive_url":"https://api.github.com/repos/Cypresslin/bt_helper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cypresslin/bt_helper/downloads","issues_url":"https://api.github.com/repos/Cypresslin/bt_helper/issues{/number}","pulls_url":"https://api.github.com/repos/Cypresslin/bt_helper/pulls{/number}","milestones_url":"https://api.github.com/repos/Cypresslin/bt_helper/milestones{/number}","notifications_url":"https://api.github.com/repos/Cypresslin/bt_helper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cypresslin/bt_helper/labels{/name}","releases_url":"https://api.github.com/repos/Cypresslin/bt_helper/releases{/id}","deployments_url":"https://api.github.com/repos/Cypresslin/bt_helper/deployments","created_at":"2016-03-18T04:23:31Z","updated_at":"2016-03-18T04:23:32Z","pushed_at":"2016-03-18T07:16:14Z","git_url":"git://github.com/Cypresslin/bt_helper.git","ssh_url":"git@github.com:Cypresslin/bt_helper.git","clone_url":"https://github.com/Cypresslin/bt_helper.git","svn_url":"https://github.com/Cypresslin/bt_helper","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"kissiel:master","ref":"master","sha":"f763dae3679c01fa4dbdbe55f265aba5e92ae0dd","user":{"login":"kissiel","id":4342563,"avatar_url":"https://avatars.githubusercontent.com/u/4342563?v=3","gravatar_id":"","url":"https://api.github.com/users/kissiel","html_url":"https://github.com/kissiel","followers_url":"https://api.github.com/users/kissiel/followers","following_url":"https://api.github.com/users/kissiel/following{/other_user}","gists_url":"https://api.github.com/users/kissiel/gists{/gist_id}","starred_url":"https://api.github.com/users/kissiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kissiel/subscriptions","organizations_url":"https://api.github.com/users/kissiel/orgs","repos_url":"https://api.github.com/users/kissiel/repos","events_url":"https://api.github.com/users/kissiel/events{/privacy}","received_events_url":"https://api.github.com/users/kissiel/received_events","type":"User","site_admin":false},"repo":{"id":54102018,"name":"bt_helper","full_name":"kissiel/bt_helper","owner":{"login":"kissiel","id":4342563,"avatar_url":"https://avatars.githubusercontent.com/u/4342563?v=3","gravatar_id":"","url":"https://api.github.com/users/kissiel","html_url":"https://github.com/kissiel","followers_url":"https://api.github.com/users/kissiel/followers","following_url":"https://api.github.com/users/kissiel/following{/other_user}","gists_url":"https://api.github.com/users/kissiel/gists{/gist_id}","starred_url":"https://api.github.com/users/kissiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kissiel/subscriptions","organizations_url":"https://api.github.com/users/kissiel/orgs","repos_url":"https://api.github.com/users/kissiel/repos","events_url":"https://api.github.com/users/kissiel/events{/privacy}","received_events_url":"https://api.github.com/users/kissiel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kissiel/bt_helper","description":"Human-friendly Bluetooth API wrapping bluez over dbus.","fork":false,"url":"https://api.github.com/repos/kissiel/bt_helper","forks_url":"https://api.github.com/repos/kissiel/bt_helper/forks","keys_url":"https://api.github.com/repos/kissiel/bt_helper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kissiel/bt_helper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kissiel/bt_helper/teams","hooks_url":"https://api.github.com/repos/kissiel/bt_helper/hooks","issue_events_url":"https://api.github.com/repos/kissiel/bt_helper/issues/events{/number}","events_url":"https://api.github.com/repos/kissiel/bt_helper/events","assignees_url":"https://api.github.com/repos/kissiel/bt_helper/assignees{/user}","branches_url":"https://api.github.com/repos/kissiel/bt_helper/branches{/branch}","tags_url":"https://api.github.com/repos/kissiel/bt_helper/tags","blobs_url":"https://api.github.com/repos/kissiel/bt_helper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kissiel/bt_helper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kissiel/bt_helper/git/refs{/sha}","trees_url":"https://api.github.com/repos/kissiel/bt_helper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kissiel/bt_helper/statuses/{sha}","languages_url":"https://api.github.com/repos/kissiel/bt_helper/languages","stargazers_url":"https://api.github.com/repos/kissiel/bt_helper/stargazers","contributors_url":"https://api.github.com/repos/kissiel/bt_helper/contributors","subscribers_url":"https://api.github.com/repos/kissiel/bt_helper/subscribers","subscription_url":"https://api.github.com/repos/kissiel/bt_helper/subscription","commits_url":"https://api.github.com/repos/kissiel/bt_helper/commits{/sha}","git_commits_url":"https://api.github.com/repos/kissiel/bt_helper/git/commits{/sha}","comments_url":"https://api.github.com/repos/kissiel/bt_helper/comments{/number}","issue_comment_url":"https://api.github.com/repos/kissiel/bt_helper/issues/comments{/number}","contents_url":"https://api.github.com/repos/kissiel/bt_helper/contents/{+path}","compare_url":"https://api.github.com/repos/kissiel/bt_helper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kissiel/bt_helper/merges","archive_url":"https://api.github.com/repos/kissiel/bt_helper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kissiel/bt_helper/downloads","issues_url":"https://api.github.com/repos/kissiel/bt_helper/issues{/number}","pulls_url":"https://api.github.com/repos/kissiel/bt_helper/pulls{/number}","milestones_url":"https://api.github.com/repos/kissiel/bt_helper/milestones{/number}","notifications_url":"https://api.github.com/repos/kissiel/bt_helper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kissiel/bt_helper/labels{/name}","releases_url":"https://api.github.com/repos/kissiel/bt_helper/releases{/id}","deployments_url":"https://api.github.com/repos/kissiel/bt_helper/deployments","created_at":"2016-03-17T08:40:29Z","updated_at":"2016-03-17T08:46:25Z","pushed_at":"2016-03-17T08:46:24Z","git_url":"git://github.com/kissiel/bt_helper.git","ssh_url":"git@github.com:kissiel/bt_helper.git","clone_url":"https://github.com/kissiel/bt_helper.git","svn_url":"https://github.com/kissiel/bt_helper","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kissiel/bt_helper/pulls/1"},"html":{"href":"https://github.com/kissiel/bt_helper/pull/1"},"issue":{"href":"https://api.github.com/repos/kissiel/bt_helper/issues/1"},"comments":{"href":"https://api.github.com/repos/kissiel/bt_helper/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/kissiel/bt_helper/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/kissiel/bt_helper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kissiel/bt_helper/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/kissiel/bt_helper/statuses/e66286aca926fc4114ccb0c7b6aa55bbba799bc7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":5,"deletions":3,"changed_files":1}}