{"action":"created","issue":{"url":"https://api.github.com/repos/python-wink/python-wink/issues/49","repository_url":"https://api.github.com/repos/python-wink/python-wink","labels_url":"https://api.github.com/repos/python-wink/python-wink/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/python-wink/python-wink/issues/49/comments","events_url":"https://api.github.com/repos/python-wink/python-wink/issues/49/events","html_url":"https://github.com/python-wink/python-wink/pull/49","id":174987164,"number":49,"title":"Workaround for possible bug in API for color detection","user":{"login":"w1ll1am23","id":6432770,"avatar_url":"https://avatars.githubusercontent.com/u/6432770?v=3","gravatar_id":"","url":"https://api.github.com/users/w1ll1am23","html_url":"https://github.com/w1ll1am23","followers_url":"https://api.github.com/users/w1ll1am23/followers","following_url":"https://api.github.com/users/w1ll1am23/following{/other_user}","gists_url":"https://api.github.com/users/w1ll1am23/gists{/gist_id}","starred_url":"https://api.github.com/users/w1ll1am23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w1ll1am23/subscriptions","organizations_url":"https://api.github.com/users/w1ll1am23/orgs","repos_url":"https://api.github.com/users/w1ll1am23/repos","events_url":"https://api.github.com/users/w1ll1am23/events{/privacy}","received_events_url":"https://api.github.com/users/w1ll1am23/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-05T03:00:04Z","updated_at":"2016-09-05T03:09:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/python-wink/python-wink/pulls/49","html_url":"https://github.com/python-wink/python-wink/pull/49","diff_url":"https://github.com/python-wink/python-wink/pull/49.diff","patch_url":"https://github.com/python-wink/python-wink/pull/49.patch"},"body":"Fixed required for #27 \r\n\r\nThe Wink API states the following.\r\n\r\ncolor_model|(string)|**one of**: \"xy\", \"hsb\", \"color_temperature\", or \"rgb\"\r\n\r\nBased on the response from the Osram bulb you would think that it supports setting color via rgb or hsb. I don't see any documentation on how to set via rgb, and I don't see rgb color listed in the response form the Osram bulb. \r\n\r\nSo having said that this would be an additional fix for color detection. If a bulb indicates that it supports both rgb and hsb, default to hsb. I will see about reaching out to Wink to have this corrected, or clarified. \r\n\r\nAdditional changes to Home-Assistant will still be required for the Osram bulb to work in full color mode. I have it working locally, and will be able to open the Home-Assistant pull request once this is pushed to pypi. \r\n"},"comment":{"url":"https://api.github.com/repos/python-wink/python-wink/issues/comments/244649954","html_url":"https://github.com/python-wink/python-wink/pull/49#issuecomment-244649954","issue_url":"https://api.github.com/repos/python-wink/python-wink/issues/49","id":244649954,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T03:09:07Z","updated_at":"2016-09-05T03:09:07Z","body":"\n[![Coverage Status](https://coveralls.io/builds/7742961/badge)](https://coveralls.io/builds/7742961)\n\nCoverage decreased (-0.07%) to 87.059% when pulling **efb1641cdf1bb74cf81beb4c3ab252b046338a60 on w1ll1am23:fix_bulb_color_detection** into **7a2f0ddb594ae15b95c82a8857aa68591b041003 on python-wink:master**.\n"}}
{"actor":{"display_login":"coveralls"}}