{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4419","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4419/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4419/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4419/events","html_url":"https://github.com/home-assistant/home-assistant/pull/4419","id":189770290,"number":4419,"title":"Fix handling of accented characters in generated entity id names #4399","user":{"login":"magicus","id":6209108,"avatar_url":"https://avatars.githubusercontent.com/u/6209108?v=3","gravatar_id":"","url":"https://api.github.com/users/magicus","html_url":"https://github.com/magicus","followers_url":"https://api.github.com/users/magicus/followers","following_url":"https://api.github.com/users/magicus/following{/other_user}","gists_url":"https://api.github.com/users/magicus/gists{/gist_id}","starred_url":"https://api.github.com/users/magicus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magicus/subscriptions","organizations_url":"https://api.github.com/users/magicus/orgs","repos_url":"https://api.github.com/users/magicus/repos","events_url":"https://api.github.com/users/magicus/events{/privacy}","received_events_url":"https://api.github.com/users/magicus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-16T16:57:04Z","updated_at":"2016-11-16T19:37:47Z","closed_at":"2016-11-16T19:37:47Z","pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4419","html_url":"https://github.com/home-assistant/home-assistant/pull/4419","diff_url":"https://github.com/home-assistant/home-assistant/pull/4419.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/4419.patch"},"body":"**Description:**\r\nAccented characters are removed in generated entity id names, instead of stripped of their accents. This patch fixes this behavior.\r\n\r\n**Related issue (if applicable):** fixes #4399.\r\n\r\n**Checklist:**\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] Local tests with `tox` run successfully. **Your PR cannot be merged unless tests pass**\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 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  - [x] Local tests with `tox` run successfully. **Your PR cannot be merged unless tests pass**\r\n  - [x] 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#L16\r\n[ex-import]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard.py#L51\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/261048776","html_url":"https://github.com/home-assistant/home-assistant/pull/4419#issuecomment-261048776","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4419","id":261048776,"user":{"login":"magicus","id":6209108,"avatar_url":"https://avatars.githubusercontent.com/u/6209108?v=3","gravatar_id":"","url":"https://api.github.com/users/magicus","html_url":"https://github.com/magicus","followers_url":"https://api.github.com/users/magicus/followers","following_url":"https://api.github.com/users/magicus/following{/other_user}","gists_url":"https://api.github.com/users/magicus/gists{/gist_id}","starred_url":"https://api.github.com/users/magicus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magicus/subscriptions","organizations_url":"https://api.github.com/users/magicus/orgs","repos_url":"https://api.github.com/users/magicus/repos","events_url":"https://api.github.com/users/magicus/events{/privacy}","received_events_url":"https://api.github.com/users/magicus/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T19:37:47Z","updated_at":"2016-11-16T19:37:47Z","body":"raise NoobError: Looks like I managed to mess up my git repo seriously. I'll close this and start anew."}}
{"actor":{"display_login":"magicus"}}