{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/6727","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/6727/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/6727/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/6727/events","html_url":"https://github.com/home-assistant/home-assistant/pull/6727","id":215565487,"number":6727,"title":"[WIP] Support xy_color for all light platforms","user":{"login":"amelchio","id":26174915,"avatar_url":"https://avatars0.githubusercontent.com/u/26174915?v=3","gravatar_id":"","url":"https://api.github.com/users/amelchio","html_url":"https://github.com/amelchio","followers_url":"https://api.github.com/users/amelchio/followers","following_url":"https://api.github.com/users/amelchio/following{/other_user}","gists_url":"https://api.github.com/users/amelchio/gists{/gist_id}","starred_url":"https://api.github.com/users/amelchio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amelchio/subscriptions","organizations_url":"https://api.github.com/users/amelchio/orgs","repos_url":"https://api.github.com/users/amelchio/repos","events_url":"https://api.github.com/users/amelchio/events{/privacy}","received_events_url":"https://api.github.com/users/amelchio/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}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-20T21:48:18Z","updated_at":"2017-03-20T21:48:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/6727","html_url":"https://github.com/home-assistant/home-assistant/pull/6727","diff_url":"https://github.com/home-assistant/home-assistant/pull/6727.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/6727.patch"},"body":"\r\n## Description:\r\n\r\nI wanted to add ```xy_color``` support for LIFX, but moving the conversion to core seems like a preferable approach?\r\n\r\nThe ```xy_color``` support is needed for light profiles and the ```flux``` switch and it is also used in several online examples. Thus, it makes sense to have it available globally.\r\n\r\nI have tried to update the ```hue.py``` file but I have no way of testing that it still works!\r\n\r\n**Related issue (if applicable):** fixes #<home-assistant issue number goes here>\r\n\r\n**Pull request in [home-assistant.github.io](https://github.com/home-assistant/home-assistant.github.io) with documentation (if applicable):** The documentation already gives the impression that ```xy_color``` is supported everywhere.\r\n\r\n## Checklist:\r\n\r\nIf the code communicates with devices, web services, or third-party tools:\r\n  - [ ] 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\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/287908753","html_url":"https://github.com/home-assistant/home-assistant/pull/6727#issuecomment-287908753","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/6727","id":287908753,"user":{"login":"mention-bot","id":15710697,"avatar_url":"https://avatars2.githubusercontent.com/u/15710697?v=3","gravatar_id":"","url":"https://api.github.com/users/mention-bot","html_url":"https://github.com/mention-bot","followers_url":"https://api.github.com/users/mention-bot/followers","following_url":"https://api.github.com/users/mention-bot/following{/other_user}","gists_url":"https://api.github.com/users/mention-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/mention-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mention-bot/subscriptions","organizations_url":"https://api.github.com/users/mention-bot/orgs","repos_url":"https://api.github.com/users/mention-bot/repos","events_url":"https://api.github.com/users/mention-bot/events{/privacy}","received_events_url":"https://api.github.com/users/mention-bot/received_events","type":"User","site_admin":false},"created_at":"2017-03-20T21:48:19Z","updated_at":"2017-03-20T21:48:19Z","body":"@amelchio, thanks for your PR! By analyzing the history of the files in this pull request, we identified @balloob, @fabaff and @michaelarnauts to be potential reviewers."}}
{"actor":{"display_login":"mention-bot"}}