{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/15520","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/15520/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/15520/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/15520/events","html_url":"https://github.com/home-assistant/home-assistant/pull/15520","id":342105690,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMDg3MDgw","number":15520,"title":"Add ecovacs component","user":{"login":"OverloadUT","id":44676,"node_id":"MDQ6VXNlcjQ0Njc2","avatar_url":"https://avatars2.githubusercontent.com/u/44676?v=4","gravatar_id":"","url":"https://api.github.com/users/OverloadUT","html_url":"https://github.com/OverloadUT","followers_url":"https://api.github.com/users/OverloadUT/followers","following_url":"https://api.github.com/users/OverloadUT/following{/other_user}","gists_url":"https://api.github.com/users/OverloadUT/gists{/gist_id}","starred_url":"https://api.github.com/users/OverloadUT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OverloadUT/subscriptions","organizations_url":"https://api.github.com/users/OverloadUT/orgs","repos_url":"https://api.github.com/users/OverloadUT/repos","events_url":"https://api.github.com/users/OverloadUT/events{/privacy}","received_events_url":"https://api.github.com/users/OverloadUT/received_events","type":"User","site_admin":false},"labels":[{"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":996888141,"node_id":"MDU6TGFiZWw5OTY4ODgxNDE=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/component:%20ecovacs","name":"component: ecovacs","color":"ededed","default":false},{"id":955422305,"node_id":"MDU6TGFiZWw5NTU0MjIzMDU=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":526146744,"node_id":"MDU6TGFiZWw1MjYxNDY3NDQ=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/new-platform","name":"new-platform","color":"ededed","default":false},{"id":996888142,"node_id":"MDU6TGFiZWw5OTY4ODgxNDI=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/platform:%20vacuum.ecovacs","name":"platform: vacuum.ecovacs","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"OverloadUT","id":44676,"node_id":"MDQ6VXNlcjQ0Njc2","avatar_url":"https://avatars2.githubusercontent.com/u/44676?v=4","gravatar_id":"","url":"https://api.github.com/users/OverloadUT","html_url":"https://github.com/OverloadUT","followers_url":"https://api.github.com/users/OverloadUT/followers","following_url":"https://api.github.com/users/OverloadUT/following{/other_user}","gists_url":"https://api.github.com/users/OverloadUT/gists{/gist_id}","starred_url":"https://api.github.com/users/OverloadUT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OverloadUT/subscriptions","organizations_url":"https://api.github.com/users/OverloadUT/orgs","repos_url":"https://api.github.com/users/OverloadUT/repos","events_url":"https://api.github.com/users/OverloadUT/events{/privacy}","received_events_url":"https://api.github.com/users/OverloadUT/received_events","type":"User","site_admin":false},"assignees":[{"login":"OverloadUT","id":44676,"node_id":"MDQ6VXNlcjQ0Njc2","avatar_url":"https://avatars2.githubusercontent.com/u/44676?v=4","gravatar_id":"","url":"https://api.github.com/users/OverloadUT","html_url":"https://github.com/OverloadUT","followers_url":"https://api.github.com/users/OverloadUT/followers","following_url":"https://api.github.com/users/OverloadUT/following{/other_user}","gists_url":"https://api.github.com/users/OverloadUT/gists{/gist_id}","starred_url":"https://api.github.com/users/OverloadUT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OverloadUT/subscriptions","organizations_url":"https://api.github.com/users/OverloadUT/orgs","repos_url":"https://api.github.com/users/OverloadUT/repos","events_url":"https://api.github.com/users/OverloadUT/events{/privacy}","received_events_url":"https://api.github.com/users/OverloadUT/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-07-17T22:03:38Z","updated_at":"2018-07-20T14:03:45Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/15520","html_url":"https://github.com/home-assistant/home-assistant/pull/15520","diff_url":"https://github.com/home-assistant/home-assistant/pull/15520.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/15520.patch"},"body":"## Description:\r\nAdds support for Ecovacs vacuums (DEEBOT vacuums) via an `ecovacs` component that creates `vacuum` entities for each vacuum in the user's account.\r\n\r\nSupports pretty much the full vacuum feature-set, and the vacuums respond _instantly_ to Hass service calls due to the always-open XMPP connection, which is pretty cool! It also supports showing the lifespan of the various replaceable components as attributes on the vacuum state.\r\n\r\nSupport for the reverse-engineered API is very early, and as such it's likely that not all vacuums and not all regions will work correctly on this first release. The Hass documentation will link to the `sucks` project for users to find more information about what vacuums and regions have been tested.\r\n\r\nThis PR has been tested with two DEEBOT M80 Pros on the same account.\r\n\r\n**Related issue (if applicable):** n/a\r\n\r\n**Pull request in [home-assistant.github.io](https://github.com/home-assistant/home-assistant.github.io) with documentation (if applicable):** *pending*\r\n\r\n## Example entry for `configuration.yaml` (if applicable):\r\n```yaml\r\necovacs:\r\n  username: !secret ecovacs_username\r\n  password: !secret ecovacs_password\r\n  country: us\r\n  continent: na\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\r\nIf user exposed functionality or configuration variables are added/changed:\r\n  - [ ] Documentation added/updated in [home-assistant.github.io](https://github.com/home-assistant/home-assistant.github.io)\r\n\r\nIf the code communicates with devices, web services, or third-party tools:\r\n  - [x] New dependencies have been added to the `REQUIREMENTS` variable ([example][ex-requir]).\r\n  - [x] New dependencies are only imported inside functions that use them ([example][ex-import]).\r\n  - [x] New or updated dependencies have been added to `requirements_all.txt` by running `script/gen_requirements_all.py`.\r\n  - [x] New files were added to `.coveragerc`.\r\n\r\n[ex-requir]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard.py#L14\r\n[ex-import]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard.py#L54"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/406610269","html_url":"https://github.com/home-assistant/home-assistant/pull/15520#issuecomment-406610269","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/15520","id":406610269,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjYxMDI2OQ==","user":{"login":"andlo","id":3314671,"node_id":"MDQ6VXNlcjMzMTQ2NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/3314671?v=4","gravatar_id":"","url":"https://api.github.com/users/andlo","html_url":"https://github.com/andlo","followers_url":"https://api.github.com/users/andlo/followers","following_url":"https://api.github.com/users/andlo/following{/other_user}","gists_url":"https://api.github.com/users/andlo/gists{/gist_id}","starred_url":"https://api.github.com/users/andlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andlo/subscriptions","organizations_url":"https://api.github.com/users/andlo/orgs","repos_url":"https://api.github.com/users/andlo/repos","events_url":"https://api.github.com/users/andlo/events{/privacy}","received_events_url":"https://api.github.com/users/andlo/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T14:03:45Z","updated_at":"2018-07-20T14:03:45Z","author_association":"NONE","body":"I cant get tihis to work on new Hassio / HassOS installation. Get lots of sleekxmpp errors in the log...."}}
{"actor":{"display_login":"andlo"}}