{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2335","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2335/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2335/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2335/events","html_url":"https://github.com/home-assistant/home-assistant/pull/2335","id":161133484,"number":2335,"title":"Adding set_brightness as a service ","user":{"login":"keatontaylor","id":657559,"avatar_url":"https://avatars.githubusercontent.com/u/657559?v=3","gravatar_id":"","url":"https://api.github.com/users/keatontaylor","html_url":"https://github.com/keatontaylor","followers_url":"https://api.github.com/users/keatontaylor/followers","following_url":"https://api.github.com/users/keatontaylor/following{/other_user}","gists_url":"https://api.github.com/users/keatontaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/keatontaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keatontaylor/subscriptions","organizations_url":"https://api.github.com/users/keatontaylor/orgs","repos_url":"https://api.github.com/users/keatontaylor/repos","events_url":"https://api.github.com/users/keatontaylor/events{/privacy}","received_events_url":"https://api.github.com/users/keatontaylor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-06-20T07:36:53Z","updated_at":"2016-07-12T04:58:27Z","closed_at":"2016-07-11T17:57:40Z","pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/2335","html_url":"https://github.com/home-assistant/home-assistant/pull/2335","diff_url":"https://github.com/home-assistant/home-assistant/pull/2335.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/2335.patch"},"body":"Adds the ability to set the brightness of a lifx bulb without needing to change the power on/off state of the bulb, useful command if you do not care about what power state the bulb is in. Note: This can also be used to change the brightness level of the lifx bulb if the bulb is currently turned off without turning it on, useful if you want to adjust the brightness for the next power on event."},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/231937530","html_url":"https://github.com/home-assistant/home-assistant/pull/2335#issuecomment-231937530","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2335","id":231937530,"user":{"login":"keatontaylor","id":657559,"avatar_url":"https://avatars.githubusercontent.com/u/657559?v=3","gravatar_id":"","url":"https://api.github.com/users/keatontaylor","html_url":"https://github.com/keatontaylor","followers_url":"https://api.github.com/users/keatontaylor/followers","following_url":"https://api.github.com/users/keatontaylor/following{/other_user}","gists_url":"https://api.github.com/users/keatontaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/keatontaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keatontaylor/subscriptions","organizations_url":"https://api.github.com/users/keatontaylor/orgs","repos_url":"https://api.github.com/users/keatontaylor/repos","events_url":"https://api.github.com/users/keatontaylor/events{/privacy}","received_events_url":"https://api.github.com/users/keatontaylor/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T04:58:27Z","updated_at":"2016-07-12T04:58:27Z","body":"On the LiFX side, the python lib used would need to be reworked to achieve the desired effect. I've made an issue on https://github.com/TangoAlpha/liffylights/issues/1 that describes the problem with the current implementation of the LiFX lib used.\r\n\r\nI've glanced at the Hue class and it seems fine and shouldn't need any additional work besides the re-work of transitioning turn_on to set_state and creating a wrapper for the turn on method."}}
{"actor":{"display_login":"keatontaylor"}}