{"action":"created","comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/comments/90891027","pull_request_review_id":11404364,"id":90891027,"diff_hunk":"@@ -0,0 +1,166 @@\n+\"\"\"\n+Support for interface with a Bose SoundTouch.\n+\n+For more details about this platform, please refer to the documentation at\n+https://home-assistant.io/components/media_player.bose_soundtouch/\n+\"\"\"\n+import logging\n+import os\n+import json\n+import re\n+\n+import voluptuous as vol\n+\n+from homeassistant.loader import get_component\n+from homeassistant.components.media_player import (\n+    SUPPORT_NEXT_TRACK, SUPPORT_PLAY_MEDIA, SUPPORT_PAUSE, SUPPORT_PREVIOUS_TRACK,\n+    MEDIA_TYPE_MUSIC, SUPPORT_TURN_ON, SUPPORT_TURN_OFF, SUPPORT_VOLUME_MUTE,\n+    SUPPORT_VOLUME_SET, SUPPORT_VOLUME_STEP, SUPPORT_SELECT_SOURCE, MediaPlayerDevice,","path":"homeassistant/components/media_player/bose_soundtouch.py","position":18,"original_position":18,"commit_id":"bc720ca0667dbeb933957156903ba60ee50fc5a2","original_commit_id":"bc720ca0667dbeb933957156903ba60ee50fc5a2","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"line too long (86 > 79 characters)","created_at":"2016-12-05T15:47:21Z","updated_at":"2016-12-05T15:47:21Z","html_url":"https://github.com/home-assistant/home-assistant/pull/4750#discussion_r90891027","pull_request_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4750","_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/comments/90891027"},"html":{"href":"https://github.com/home-assistant/home-assistant/pull/4750#discussion_r90891027"},"pull_request":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4750"}}},"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4750","id":96553197,"html_url":"https://github.com/home-assistant/home-assistant/pull/4750","diff_url":"https://github.com/home-assistant/home-assistant/pull/4750.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/4750.patch","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4750","number":4750,"state":"open","locked":false,"title":"Adding component for BOSE SoundTouch devices","user":{"login":"trunet","id":199800,"avatar_url":"https://avatars.githubusercontent.com/u/199800?v=3","gravatar_id":"","url":"https://api.github.com/users/trunet","html_url":"https://github.com/trunet","followers_url":"https://api.github.com/users/trunet/followers","following_url":"https://api.github.com/users/trunet/following{/other_user}","gists_url":"https://api.github.com/users/trunet/gists{/gist_id}","starred_url":"https://api.github.com/users/trunet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trunet/subscriptions","organizations_url":"https://api.github.com/users/trunet/orgs","repos_url":"https://api.github.com/users/trunet/repos","events_url":"https://api.github.com/users/trunet/events{/privacy}","received_events_url":"https://api.github.com/users/trunet/received_events","type":"User","site_admin":false},"body":"Hello,\r\n\r\nI created a component for the BOSE SoundTouch systems.\r\n\r\nI also wrote an asyncio[1] library, but it's 3.5 only for now[2], so I went ahead to use the boos library that is not async until my library is 3.4 compatible.\r\n\r\n[1]: https://pypi.python.org/pypi/aiobosest\r\n[2]: https://github.com/trunet/aiobosest/issues/1","created_at":"2016-12-05T15:47:13Z","updated_at":"2016-12-05T15:47:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fa272fae53666adea267ea08ab54ddb0f331ba1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4750/commits","review_comments_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4750/comments","review_comment_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4750/comments","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant/statuses/bc720ca0667dbeb933957156903ba60ee50fc5a2","head":{"label":"trunet:add-bose-soundtouch-component","ref":"add-bose-soundtouch-component","sha":"bc720ca0667dbeb933957156903ba60ee50fc5a2","user":{"login":"trunet","id":199800,"avatar_url":"https://avatars.githubusercontent.com/u/199800?v=3","gravatar_id":"","url":"https://api.github.com/users/trunet","html_url":"https://github.com/trunet","followers_url":"https://api.github.com/users/trunet/followers","following_url":"https://api.github.com/users/trunet/following{/other_user}","gists_url":"https://api.github.com/users/trunet/gists{/gist_id}","starred_url":"https://api.github.com/users/trunet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trunet/subscriptions","organizations_url":"https://api.github.com/users/trunet/orgs","repos_url":"https://api.github.com/users/trunet/repos","events_url":"https://api.github.com/users/trunet/events{/privacy}","received_events_url":"https://api.github.com/users/trunet/received_events","type":"User","site_admin":false},"repo":{"id":75537288,"name":"home-assistant","full_name":"trunet/home-assistant","owner":{"login":"trunet","id":199800,"avatar_url":"https://avatars.githubusercontent.com/u/199800?v=3","gravatar_id":"","url":"https://api.github.com/users/trunet","html_url":"https://github.com/trunet","followers_url":"https://api.github.com/users/trunet/followers","following_url":"https://api.github.com/users/trunet/following{/other_user}","gists_url":"https://api.github.com/users/trunet/gists{/gist_id}","starred_url":"https://api.github.com/users/trunet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trunet/subscriptions","organizations_url":"https://api.github.com/users/trunet/orgs","repos_url":"https://api.github.com/users/trunet/repos","events_url":"https://api.github.com/users/trunet/events{/privacy}","received_events_url":"https://api.github.com/users/trunet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trunet/home-assistant","description":":house_with_garden: Open-source home automation platform running on Python 3","fork":true,"url":"https://api.github.com/repos/trunet/home-assistant","forks_url":"https://api.github.com/repos/trunet/home-assistant/forks","keys_url":"https://api.github.com/repos/trunet/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trunet/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trunet/home-assistant/teams","hooks_url":"https://api.github.com/repos/trunet/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/trunet/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/trunet/home-assistant/events","assignees_url":"https://api.github.com/repos/trunet/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/trunet/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/trunet/home-assistant/tags","blobs_url":"https://api.github.com/repos/trunet/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trunet/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trunet/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/trunet/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trunet/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/trunet/home-assistant/languages","stargazers_url":"https://api.github.com/repos/trunet/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/trunet/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/trunet/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/trunet/home-assistant/subscription","commits_url":"https://api.github.com/repos/trunet/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/trunet/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/trunet/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/trunet/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/trunet/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/trunet/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trunet/home-assistant/merges","archive_url":"https://api.github.com/repos/trunet/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trunet/home-assistant/downloads","issues_url":"https://api.github.com/repos/trunet/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/trunet/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/trunet/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/trunet/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trunet/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/trunet/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/trunet/home-assistant/deployments","created_at":"2016-12-04T12:53:35Z","updated_at":"2016-12-04T12:53:39Z","pushed_at":"2016-12-05T15:42:45Z","git_url":"git://github.com/trunet/home-assistant.git","ssh_url":"git@github.com:trunet/home-assistant.git","clone_url":"https://github.com/trunet/home-assistant.git","svn_url":"https://github.com/trunet/home-assistant","homepage":"https://home-assistant.io","size":44547,"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":"home-assistant:dev","ref":"dev","sha":"71fc446425cbb1c0d4670c261ce8ea3bfd83a73d","user":{"login":"home-assistant","id":13844975,"avatar_url":"https://avatars.githubusercontent.com/u/13844975?v=3","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"repo":{"id":12888993,"name":"home-assistant","full_name":"home-assistant/home-assistant","owner":{"login":"home-assistant","id":13844975,"avatar_url":"https://avatars.githubusercontent.com/u/13844975?v=3","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/home-assistant/home-assistant","description":":house_with_garden: Open-source home automation platform running on Python 3","fork":false,"url":"https://api.github.com/repos/home-assistant/home-assistant","forks_url":"https://api.github.com/repos/home-assistant/home-assistant/forks","keys_url":"https://api.github.com/repos/home-assistant/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/home-assistant/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/home-assistant/home-assistant/teams","hooks_url":"https://api.github.com/repos/home-assistant/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/home-assistant/home-assistant/events","assignees_url":"https://api.github.com/repos/home-assistant/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/home-assistant/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/home-assistant/home-assistant/tags","blobs_url":"https://api.github.com/repos/home-assistant/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/home-assistant/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/home-assistant/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/home-assistant/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/home-assistant/home-assistant/languages","stargazers_url":"https://api.github.com/repos/home-assistant/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/home-assistant/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/home-assistant/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/home-assistant/home-assistant/subscription","commits_url":"https://api.github.com/repos/home-assistant/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/home-assistant/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/home-assistant/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/home-assistant/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/home-assistant/home-assistant/merges","archive_url":"https://api.github.com/repos/home-assistant/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/home-assistant/home-assistant/downloads","issues_url":"https://api.github.com/repos/home-assistant/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/home-assistant/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/home-assistant/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/home-assistant/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/home-assistant/home-assistant/deployments","created_at":"2013-09-17T07:29:48Z","updated_at":"2016-12-05T15:45:50Z","pushed_at":"2016-12-05T15:47:13Z","git_url":"git://github.com/home-assistant/home-assistant.git","ssh_url":"git@github.com:home-assistant/home-assistant.git","clone_url":"https://github.com/home-assistant/home-assistant.git","svn_url":"https://github.com/home-assistant/home-assistant","homepage":"https://home-assistant.io","size":89132,"stargazers_count":4913,"watchers_count":4913,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1287,"mirror_url":null,"open_issues_count":329,"forks":1287,"open_issues":329,"watchers":4913,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4750"},"html":{"href":"https://github.com/home-assistant/home-assistant/pull/4750"},"issue":{"href":"https://api.github.com/repos/home-assistant/home-assistant/issues/4750"},"comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant/issues/4750/comments"},"review_comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4750/comments"},"review_comment":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4750/commits"},"statuses":{"href":"https://api.github.com/repos/home-assistant/home-assistant/statuses/bc720ca0667dbeb933957156903ba60ee50fc5a2"}}}}
{"actor":{"display_login":"houndci-bot"}}