{"action":"closed","number":24427,"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/24427","id":286437500,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg2NDM3NTAw","html_url":"https://github.com/home-assistant/home-assistant/pull/24427","diff_url":"https://github.com/home-assistant/home-assistant/pull/24427.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/24427.patch","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/24427","number":24427,"state":"closed","locked":false,"title":"Move totalconnect from platform to component config","user":{"login":"austinmroczek","id":21700514,"node_id":"MDQ6VXNlcjIxNzAwNTE0","avatar_url":"https://avatars0.githubusercontent.com/u/21700514?v=4","gravatar_id":"","url":"https://api.github.com/users/austinmroczek","html_url":"https://github.com/austinmroczek","followers_url":"https://api.github.com/users/austinmroczek/followers","following_url":"https://api.github.com/users/austinmroczek/following{/other_user}","gists_url":"https://api.github.com/users/austinmroczek/gists{/gist_id}","starred_url":"https://api.github.com/users/austinmroczek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinmroczek/subscriptions","organizations_url":"https://api.github.com/users/austinmroczek/orgs","repos_url":"https://api.github.com/users/austinmroczek/repos","events_url":"https://api.github.com/users/austinmroczek/events{/privacy}","received_events_url":"https://api.github.com/users/austinmroczek/received_events","type":"User","site_admin":false},"body":"## Breaking Change:\r\nTotal Connect Client was upgraded to support more than one alarm panel and allow future support for additional sensors.  Previous `alarm_control_panel` entries must be removed, and a new `totalconnect` entry must be added to configuration.yaml.  See https://www.home-assistant.io/components/totalconnect/ for configuration details.\r\n\r\n## Description:\r\nMove toward multi-platform for Total Connect. Support multiple alarm panels. Changed totalconnect so we can add additional platforms moving forward.  Moved the total_connect_client into __init__ so a single instance will be shared across platforms.  It should now allow for multiple alarm panels.\r\n\r\n**Related issue (if applicable):**\r\nhttps://github.com/craigjmidwinter/total-connect-client/issues/26\r\n\r\n**Pull request with documentation for [home-assistant.io](https://github.com/home-assistant/home-assistant.io) (if applicable):** home-assistant/home-assistant.io#\r\nhttps://github.com/home-assistant/home-assistant.io/pull/9589\r\n\r\n## Example entry for `configuration.yaml` (if applicable):\r\n```yaml\r\ntotalconnect:\r\n    username: !secret totalconnect_username\r\n    password: !secret totalconnect_password\r\n```\r\n\r\n## Checklist:\r\n  - [x] The code change is tested and works locally.\r\n  - [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**\r\n  - [x] There is no commented out code in this PR.\r\n  - [x] I have followed the [development checklist][dev-checklist]\r\n\r\nIf user exposed functionality or configuration variables are added/changed:\r\n  - [doing next] Documentation added/updated in [home-assistant.io](https://github.com/home-assistant/home-assistant.io)\r\n\r\nIf the code communicates with devices, web services, or third-party tools:\r\n  - [x] [_The manifest file_][manifest-docs] has all fields filled out correctly. Update and include derived files by running `python3 -m script.hassfest`.\r\n  - [x] New or updated dependencies have been added to `requirements_all.txt` by running `python3 -m script.gen_requirements_all`.\r\n  - [n/a] Untested files have been added to `.coveragerc`.\r\n\r\nIf the code does not interact with devices:\r\n  - [n/a] Tests have been added to verify that the new code works.\r\n\r\n","created_at":"2019-06-08T23:38:35Z","updated_at":"2019-07-14T07:24:41Z","closed_at":"2019-07-14T07:24:41Z","merged_at":"2019-07-14T07:24:41Z","merge_commit_sha":"369e6a3905a6610377797ec8cdc64e7a42f436aa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":457646398,"node_id":"MDU6TGFiZWw0NTc2NDYzOTg=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/breaking%20change","name":"breaking change","color":"d93f0b","default":false},{"id":527871105,"node_id":"MDU6TGFiZWw1Mjc4NzExMDU=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/cla-signed","name":"cla-signed","color":"008000","default":false},{"id":1279237270,"node_id":"MDU6TGFiZWwxMjc5MjM3Mjcw","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/integration:%20totalconnect","name":"integration: totalconnect","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/24427/commits","review_comments_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/24427/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/24427/comments","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant/statuses/cd2b563a19134b653c16e6e5a70dbf31275dd99d","head":{"label":"austinmroczek:dev","ref":"dev","sha":"cd2b563a19134b653c16e6e5a70dbf31275dd99d","user":{"login":"austinmroczek","id":21700514,"node_id":"MDQ6VXNlcjIxNzAwNTE0","avatar_url":"https://avatars0.githubusercontent.com/u/21700514?v=4","gravatar_id":"","url":"https://api.github.com/users/austinmroczek","html_url":"https://github.com/austinmroczek","followers_url":"https://api.github.com/users/austinmroczek/followers","following_url":"https://api.github.com/users/austinmroczek/following{/other_user}","gists_url":"https://api.github.com/users/austinmroczek/gists{/gist_id}","starred_url":"https://api.github.com/users/austinmroczek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinmroczek/subscriptions","organizations_url":"https://api.github.com/users/austinmroczek/orgs","repos_url":"https://api.github.com/users/austinmroczek/repos","events_url":"https://api.github.com/users/austinmroczek/events{/privacy}","received_events_url":"https://api.github.com/users/austinmroczek/received_events","type":"User","site_admin":false},"repo":{"id":176638632,"node_id":"MDEwOlJlcG9zaXRvcnkxNzY2Mzg2MzI=","name":"home-assistant","full_name":"austinmroczek/home-assistant","private":false,"owner":{"login":"austinmroczek","id":21700514,"node_id":"MDQ6VXNlcjIxNzAwNTE0","avatar_url":"https://avatars0.githubusercontent.com/u/21700514?v=4","gravatar_id":"","url":"https://api.github.com/users/austinmroczek","html_url":"https://github.com/austinmroczek","followers_url":"https://api.github.com/users/austinmroczek/followers","following_url":"https://api.github.com/users/austinmroczek/following{/other_user}","gists_url":"https://api.github.com/users/austinmroczek/gists{/gist_id}","starred_url":"https://api.github.com/users/austinmroczek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinmroczek/subscriptions","organizations_url":"https://api.github.com/users/austinmroczek/orgs","repos_url":"https://api.github.com/users/austinmroczek/repos","events_url":"https://api.github.com/users/austinmroczek/events{/privacy}","received_events_url":"https://api.github.com/users/austinmroczek/received_events","type":"User","site_admin":false},"html_url":"https://github.com/austinmroczek/home-assistant","description":":house_with_garden: Open source home automation that puts local control and privacy first","fork":true,"url":"https://api.github.com/repos/austinmroczek/home-assistant","forks_url":"https://api.github.com/repos/austinmroczek/home-assistant/forks","keys_url":"https://api.github.com/repos/austinmroczek/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/austinmroczek/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/austinmroczek/home-assistant/teams","hooks_url":"https://api.github.com/repos/austinmroczek/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/austinmroczek/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/austinmroczek/home-assistant/events","assignees_url":"https://api.github.com/repos/austinmroczek/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/austinmroczek/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/austinmroczek/home-assistant/tags","blobs_url":"https://api.github.com/repos/austinmroczek/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/austinmroczek/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/austinmroczek/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/austinmroczek/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/austinmroczek/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/austinmroczek/home-assistant/languages","stargazers_url":"https://api.github.com/repos/austinmroczek/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/austinmroczek/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/austinmroczek/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/austinmroczek/home-assistant/subscription","commits_url":"https://api.github.com/repos/austinmroczek/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/austinmroczek/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/austinmroczek/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/austinmroczek/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/austinmroczek/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/austinmroczek/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/austinmroczek/home-assistant/merges","archive_url":"https://api.github.com/repos/austinmroczek/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/austinmroczek/home-assistant/downloads","issues_url":"https://api.github.com/repos/austinmroczek/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/austinmroczek/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/austinmroczek/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/austinmroczek/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/austinmroczek/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/austinmroczek/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/austinmroczek/home-assistant/deployments","created_at":"2019-03-20T02:43:07Z","updated_at":"2019-07-14T01:27:24Z","pushed_at":"2019-07-14T01:27:15Z","git_url":"git://github.com/austinmroczek/home-assistant.git","ssh_url":"git@github.com:austinmroczek/home-assistant.git","clone_url":"https://github.com/austinmroczek/home-assistant.git","svn_url":"https://github.com/austinmroczek/home-assistant","homepage":"https://www.home-assistant.io","size":113859,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":2,"default_branch":"dev"}},"base":{"label":"home-assistant:dev","ref":"dev","sha":"cb71b4a6579d06e4c4350f9dd707ad6881559083","user":{"login":"home-assistant","id":13844975,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODQ0OTc1","avatar_url":"https://avatars3.githubusercontent.com/u/13844975?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg4ODk5Mw==","name":"home-assistant","full_name":"home-assistant/home-assistant","private":false,"owner":{"login":"home-assistant","id":13844975,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODQ0OTc1","avatar_url":"https://avatars3.githubusercontent.com/u/13844975?v=4","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},"html_url":"https://github.com/home-assistant/home-assistant","description":":house_with_garden: Open source home automation that puts local control and privacy first","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":"2019-07-14T05:37:46Z","pushed_at":"2019-07-14T07:24:41Z","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://www.home-assistant.io","size":114750,"stargazers_count":24905,"watchers_count":24905,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7249,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1273,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":7249,"open_issues":1273,"watchers":24905,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/24427"},"html":{"href":"https://github.com/home-assistant/home-assistant/pull/24427"},"issue":{"href":"https://api.github.com/repos/home-assistant/home-assistant/issues/24427"},"comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant/issues/24427/comments"},"review_comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/24427/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/24427/commits"},"statuses":{"href":"https://api.github.com/repos/home-assistant/home-assistant/statuses/cd2b563a19134b653c16e6e5a70dbf31275dd99d"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"MartinHjelmare","id":3181692,"node_id":"MDQ6VXNlcjMxODE2OTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3181692?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinHjelmare","html_url":"https://github.com/MartinHjelmare","followers_url":"https://api.github.com/users/MartinHjelmare/followers","following_url":"https://api.github.com/users/MartinHjelmare/following{/other_user}","gists_url":"https://api.github.com/users/MartinHjelmare/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinHjelmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinHjelmare/subscriptions","organizations_url":"https://api.github.com/users/MartinHjelmare/orgs","repos_url":"https://api.github.com/users/MartinHjelmare/repos","events_url":"https://api.github.com/users/MartinHjelmare/events{/privacy}","received_events_url":"https://api.github.com/users/MartinHjelmare/received_events","type":"User","site_admin":false},"comments":5,"review_comments":25,"maintainer_can_modify":false,"commits":27,"additions":103,"deletions":41,"changed_files":5}}
{"actor":{"display_login":"MartinHjelmare"}}