{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17240","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17240/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17240/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17240/events","html_url":"https://github.com/home-assistant/home-assistant/pull/17240","id":367703416,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMDUwNTIx","number":17240,"title":"Fix motion sensor in Aqara LAN protocol V2","user":{"login":"azuwis","id":9315,"node_id":"MDQ6VXNlcjkzMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/9315?v=4","gravatar_id":"","url":"https://api.github.com/users/azuwis","html_url":"https://github.com/azuwis","followers_url":"https://api.github.com/users/azuwis/followers","following_url":"https://api.github.com/users/azuwis/following{/other_user}","gists_url":"https://api.github.com/users/azuwis/gists{/gist_id}","starred_url":"https://api.github.com/users/azuwis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azuwis/subscriptions","organizations_url":"https://api.github.com/users/azuwis/orgs","repos_url":"https://api.github.com/users/azuwis/repos","events_url":"https://api.github.com/users/azuwis/events{/privacy}","received_events_url":"https://api.github.com/users/azuwis/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":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":721020761,"node_id":"MDU6TGFiZWw3MjEwMjA3NjE=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/platform:%20binary_sensor.xiaomi_aqara","name":"platform: binary_sensor.xiaomi_aqara","color":"ededed","default":false},{"id":832964196,"node_id":"MDU6TGFiZWw4MzI5NjQxOTY=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/small-pr","name":"small-pr","color":"e5bd7e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-08T09:24:13Z","updated_at":"2018-10-09T08:42:35Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/17240","html_url":"https://github.com/home-assistant/home-assistant/pull/17240","diff_url":"https://github.com/home-assistant/home-assistant/pull/17240.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/17240.patch"},"body":"## Description:\r\n\r\n\r\n**Related issue (if applicable):** fixes #16473\r\n\r\n**Pull request in [home-assistant.io](https://github.com/home-assistant/home-assistant.io) with documentation (if applicable):** home-assistant/home-assistant.io#<home-assistant.io PR number goes here>\r\n\r\n## Example entry for `configuration.yaml` (if applicable):\r\n```yaml\r\n\r\n```\r\n\r\n## Checklist:\r\n  - [x] The code change is tested and works locally.\r\n  - [ ] 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.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  - [ ] New dependencies have been added to the `REQUIREMENTS` variable ([example][ex-requir]).\r\n  - [ ] New dependencies are only imported inside functions that use them ([example][ex-import]).\r\n  - [ ] New or updated dependencies have been added to `requirements_all.txt` by running `script/gen_requirements_all.py`.\r\n  - [ ] New files were added to `.coveragerc`.\r\n\r\nIf the code does not interact with devices:\r\n  - [ ] Tests have been added to verify that the new code works.\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\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/428110458","html_url":"https://github.com/home-assistant/home-assistant/pull/17240#issuecomment-428110458","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17240","id":428110458,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODExMDQ1OA==","user":{"login":"azuwis","id":9315,"node_id":"MDQ6VXNlcjkzMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/9315?v=4","gravatar_id":"","url":"https://api.github.com/users/azuwis","html_url":"https://github.com/azuwis","followers_url":"https://api.github.com/users/azuwis/followers","following_url":"https://api.github.com/users/azuwis/following{/other_user}","gists_url":"https://api.github.com/users/azuwis/gists{/gist_id}","starred_url":"https://api.github.com/users/azuwis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azuwis/subscriptions","organizations_url":"https://api.github.com/users/azuwis/orgs","repos_url":"https://api.github.com/users/azuwis/repos","events_url":"https://api.github.com/users/azuwis/events{/privacy}","received_events_url":"https://api.github.com/users/azuwis/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T08:42:35Z","updated_at":"2018-10-09T08:42:35Z","author_association":"NONE","body":"> Could you fix the lint issues?\r\n\r\nDone."}}
{"actor":{"display_login":"azuwis"}}