{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13314","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13314/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13314/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13314/events","html_url":"https://github.com/home-assistant/home-assistant/pull/13314","id":306246044,"number":13314,"title":"zha: catch the exception from bellows if a device isn't available.","user":{"login":"perosb","id":982752,"avatar_url":"https://avatars1.githubusercontent.com/u/982752?v=4","gravatar_id":"","url":"https://api.github.com/users/perosb","html_url":"https://github.com/perosb","followers_url":"https://api.github.com/users/perosb/followers","following_url":"https://api.github.com/users/perosb/following{/other_user}","gists_url":"https://api.github.com/users/perosb/gists{/gist_id}","starred_url":"https://api.github.com/users/perosb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perosb/subscriptions","organizations_url":"https://api.github.com/users/perosb/orgs","repos_url":"https://api.github.com/users/perosb/repos","events_url":"https://api.github.com/users/perosb/events{/privacy}","received_events_url":"https://api.github.com/users/perosb/received_events","type":"User","site_admin":false},"labels":[{"id":527871105,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/cla-signed","name":"cla-signed","color":"008000","default":false},{"id":548457119,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/platform:%20light.zha","name":"platform: light.zha","color":"ededed","default":false},{"id":548457121,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/platform:%20switch.zha","name":"platform: switch.zha","color":"ededed","default":false},{"id":832964196,"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":1,"created_at":"2018-03-18T14:42:16Z","updated_at":"2018-03-19T06:29:38Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/13314","html_url":"https://github.com/home-assistant/home-assistant/pull/13314","diff_url":"https://github.com/home-assistant/home-assistant/pull/13314.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/13314.patch"},"body":"## Description:\r\n\r\nIf a zha device isn't available (ie someone used the wall switch to turn it off) the complete on/off stops.\r\nThis fix catches the bellows exception.\r\n\r\n**Related issue (if applicable):** fixes #11751\r\n\r\n## Checklist:\r\n  - [ ] 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 the code does not interact with devices:\r\n  - [ ] Tests have been added to verify that the new code works.\r\n\r\nCurrently no tests exist at all for zha."},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/374113493","html_url":"https://github.com/home-assistant/home-assistant/pull/13314#issuecomment-374113493","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13314","id":374113493,"user":{"login":"perosb","id":982752,"avatar_url":"https://avatars1.githubusercontent.com/u/982752?v=4","gravatar_id":"","url":"https://api.github.com/users/perosb","html_url":"https://github.com/perosb","followers_url":"https://api.github.com/users/perosb/followers","following_url":"https://api.github.com/users/perosb/following{/other_user}","gists_url":"https://api.github.com/users/perosb/gists{/gist_id}","starred_url":"https://api.github.com/users/perosb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perosb/subscriptions","organizations_url":"https://api.github.com/users/perosb/orgs","repos_url":"https://api.github.com/users/perosb/repos","events_url":"https://api.github.com/users/perosb/events{/privacy}","received_events_url":"https://api.github.com/users/perosb/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T06:29:37Z","updated_at":"2018-03-19T06:29:37Z","author_association":"CONTRIBUTOR","body":"@balloob thanks. fixed now."}}
{"actor":{"display_login":"perosb"}}