{"action":"opened","number":1213,"pull_request":{"url":"https://api.github.com/repos/balloob/home-assistant/pulls/1213","id":59117229,"html_url":"https://github.com/balloob/home-assistant/pull/1213","diff_url":"https://github.com/balloob/home-assistant/pull/1213.diff","patch_url":"https://github.com/balloob/home-assistant/pull/1213.patch","issue_url":"https://api.github.com/repos/balloob/home-assistant/issues/1213","number":1213,"state":"open","locked":false,"title":"Add mysensors light platform","user":{"login":"MartinHjelmare","id":3181692,"avatar_url":"https://avatars.githubusercontent.com/u/3181692?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinHjelmare","html_url":"https://github.com/MartinHjelmare","followers_url":"https://api.github.com/users/MartinHjelmare/followers","following_url":"https://api.github.com/users/MartinHjelmare/following{/other_user}","gists_url":"https://api.github.com/users/MartinHjelmare/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinHjelmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinHjelmare/subscriptions","organizations_url":"https://api.github.com/users/MartinHjelmare/orgs","repos_url":"https://api.github.com/users/MartinHjelmare/repos","events_url":"https://api.github.com/users/MartinHjelmare/events{/privacy}","received_events_url":"https://api.github.com/users/MartinHjelmare/received_events","type":"User","site_admin":false},"body":"* Make light controllable independently with types V_LIGHT, V_DIMMER,\r\n    V_RGB and V_RGBW. V_RGBW is not implemented in the frontend yet.\r\n    V_RGBW needs a slider for the white light similar to the brightness slider.\r\n* Add discovery for light platform.\r\n* Add optimistic mode config setting for switch and light\r\n    to allow feedback state from actuator.\r\n* Move S_LIGHT, V_LIGHT, V_STATUS types from switch to light platform.\r\n* Change node update logging to debug from info level.\r\n* Fix some inaccurate comments.\r\n\r\nSome methods in the light entity class gets rather messy, but I don't know if they can be made simpler and still support the behavior I want. There's lots of conditional statements. I'd appreciate comments if it's possible to clean up, somehow.","created_at":"2016-02-12T00:31:11Z","updated_at":"2016-02-12T00:31:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/balloob/home-assistant/pulls/1213/commits","review_comments_url":"https://api.github.com/repos/balloob/home-assistant/pulls/1213/comments","review_comment_url":"https://api.github.com/repos/balloob/home-assistant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/balloob/home-assistant/issues/1213/comments","statuses_url":"https://api.github.com/repos/balloob/home-assistant/statuses/2cf061c768274363a57240fd8f8aa313cbfd9d97","head":{"label":"MartinHjelmare:mysensors-light","ref":"mysensors-light","sha":"2cf061c768274363a57240fd8f8aa313cbfd9d97","user":{"login":"MartinHjelmare","id":3181692,"avatar_url":"https://avatars.githubusercontent.com/u/3181692?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinHjelmare","html_url":"https://github.com/MartinHjelmare","followers_url":"https://api.github.com/users/MartinHjelmare/followers","following_url":"https://api.github.com/users/MartinHjelmare/following{/other_user}","gists_url":"https://api.github.com/users/MartinHjelmare/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinHjelmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinHjelmare/subscriptions","organizations_url":"https://api.github.com/users/MartinHjelmare/orgs","repos_url":"https://api.github.com/users/MartinHjelmare/repos","events_url":"https://api.github.com/users/MartinHjelmare/events{/privacy}","received_events_url":"https://api.github.com/users/MartinHjelmare/received_events","type":"User","site_admin":false},"repo":{"id":44849508,"name":"home-assistant","full_name":"MartinHjelmare/home-assistant","owner":{"login":"MartinHjelmare","id":3181692,"avatar_url":"https://avatars.githubusercontent.com/u/3181692?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinHjelmare","html_url":"https://github.com/MartinHjelmare","followers_url":"https://api.github.com/users/MartinHjelmare/followers","following_url":"https://api.github.com/users/MartinHjelmare/following{/other_user}","gists_url":"https://api.github.com/users/MartinHjelmare/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinHjelmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinHjelmare/subscriptions","organizations_url":"https://api.github.com/users/MartinHjelmare/orgs","repos_url":"https://api.github.com/users/MartinHjelmare/repos","events_url":"https://api.github.com/users/MartinHjelmare/events{/privacy}","received_events_url":"https://api.github.com/users/MartinHjelmare/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MartinHjelmare/home-assistant","description":"Open-source home automation platform running on Python 3","fork":true,"url":"https://api.github.com/repos/MartinHjelmare/home-assistant","forks_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/forks","keys_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/teams","hooks_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/events","assignees_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/tags","blobs_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/languages","stargazers_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/subscription","commits_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/merges","archive_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/downloads","issues_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/MartinHjelmare/home-assistant/deployments","created_at":"2015-10-24T02:49:56Z","updated_at":"2016-01-30T22:35:59Z","pushed_at":"2016-02-12T00:23:12Z","git_url":"git://github.com/MartinHjelmare/home-assistant.git","ssh_url":"git@github.com:MartinHjelmare/home-assistant.git","clone_url":"https://github.com/MartinHjelmare/home-assistant.git","svn_url":"https://github.com/MartinHjelmare/home-assistant","homepage":"https://home-assistant.io","size":28550,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"balloob:dev","ref":"dev","sha":"df8afe51f4a46d76bd4d294ea25341ec0b8bebf4","user":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"repo":{"id":12888993,"name":"home-assistant","full_name":"balloob/home-assistant","owner":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/balloob/home-assistant","description":":house_with_garden: Open-source home automation platform running on Python 3","fork":false,"url":"https://api.github.com/repos/balloob/home-assistant","forks_url":"https://api.github.com/repos/balloob/home-assistant/forks","keys_url":"https://api.github.com/repos/balloob/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/balloob/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/balloob/home-assistant/teams","hooks_url":"https://api.github.com/repos/balloob/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/balloob/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/balloob/home-assistant/events","assignees_url":"https://api.github.com/repos/balloob/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/balloob/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/balloob/home-assistant/tags","blobs_url":"https://api.github.com/repos/balloob/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/balloob/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/balloob/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/balloob/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/balloob/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/balloob/home-assistant/languages","stargazers_url":"https://api.github.com/repos/balloob/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/balloob/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/balloob/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/balloob/home-assistant/subscription","commits_url":"https://api.github.com/repos/balloob/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/balloob/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/balloob/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/balloob/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/balloob/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/balloob/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/balloob/home-assistant/merges","archive_url":"https://api.github.com/repos/balloob/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/balloob/home-assistant/downloads","issues_url":"https://api.github.com/repos/balloob/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/balloob/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/balloob/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/balloob/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/balloob/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/balloob/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/balloob/home-assistant/deployments","created_at":"2013-09-17T07:29:48Z","updated_at":"2016-02-11T22:48:54Z","pushed_at":"2016-02-12T00:27:41Z","git_url":"git://github.com/balloob/home-assistant.git","ssh_url":"git@github.com:balloob/home-assistant.git","clone_url":"https://github.com/balloob/home-assistant.git","svn_url":"https://github.com/balloob/home-assistant","homepage":"https://home-assistant.io","size":42611,"stargazers_count":2713,"watchers_count":2713,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":438,"mirror_url":null,"open_issues_count":152,"forks":438,"open_issues":152,"watchers":2713,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1213"},"html":{"href":"https://github.com/balloob/home-assistant/pull/1213"},"issue":{"href":"https://api.github.com/repos/balloob/home-assistant/issues/1213"},"comments":{"href":"https://api.github.com/repos/balloob/home-assistant/issues/1213/comments"},"review_comments":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1213/comments"},"review_comment":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1213/commits"},"statuses":{"href":"https://api.github.com/repos/balloob/home-assistant/statuses/2cf061c768274363a57240fd8f8aa313cbfd9d97"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":257,"deletions":19,"changed_files":5}}