{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/9222","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/9222/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/9222/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/9222/events","html_url":"https://github.com/home-assistant/home-assistant/pull/9222","id":253991230,"number":9222,"title":"update broadlink.py to add support for MP1 switch","user":{"login":"giangvo","id":5787934,"avatar_url":"https://avatars0.githubusercontent.com/u/5787934?v=4","gravatar_id":"","url":"https://api.github.com/users/giangvo","html_url":"https://github.com/giangvo","followers_url":"https://api.github.com/users/giangvo/followers","following_url":"https://api.github.com/users/giangvo/following{/other_user}","gists_url":"https://api.github.com/users/giangvo/gists{/gist_id}","starred_url":"https://api.github.com/users/giangvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giangvo/subscriptions","organizations_url":"https://api.github.com/users/giangvo/orgs","repos_url":"https://api.github.com/users/giangvo/repos","events_url":"https://api.github.com/users/giangvo/events{/privacy}","received_events_url":"https://api.github.com/users/giangvo/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},{"id":514133636,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/platform","name":"platform","color":"0e8a16","default":false},{"id":532831849,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/platform:%20switch.broadlink","name":"platform: switch.broadlink","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-08-30T13:02:26Z","updated_at":"2017-09-14T07:33:31Z","closed_at":"2017-09-14T06:41:52Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/9222","html_url":"https://github.com/home-assistant/home-assistant/pull/9222","diff_url":"https://github.com/home-assistant/home-assistant/pull/9222.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/9222.patch"},"body":"## Description:\r\n- Update `switch/broadlink.py` to add support for MP1 switch\r\n- I tested it with my MP1\r\n\r\n**Related issue (if applicable):** fixes #\r\n\r\n**Pull request in [home-assistant.github.io](https://github.com/home-assistant/home-assistant.github.io) with documentation (if applicable):** home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>\r\n\r\n## Example entry for `configuration.yaml` (if applicable):\r\n```yaml\r\n- platform: broadlink\r\n  host: 192.168.0.x\r\n  mac: xx:xx:xx:xx:xx:xx\r\n  type: mp1\r\n  friendly_name: 'MP 1'\r\n  slots:\r\n    # friendly name of slots - optional\r\n    # if not set, slot name will be switch's friendly_name + 'slot {slot_index}'. e.g 'MP 1 slot 1'\r\n    slot_1: 'TV slot'\r\n    slot_2: 'Xbox slot'\r\n    slot_3: 'Fan slot'\r\n    slot_4: 'Speaker slot'\r\n```\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\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/329398953","html_url":"https://github.com/home-assistant/home-assistant/pull/9222#issuecomment-329398953","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/9222","id":329398953,"user":{"login":"giangvo","id":5787934,"avatar_url":"https://avatars0.githubusercontent.com/u/5787934?v=4","gravatar_id":"","url":"https://api.github.com/users/giangvo","html_url":"https://github.com/giangvo","followers_url":"https://api.github.com/users/giangvo/followers","following_url":"https://api.github.com/users/giangvo/following{/other_user}","gists_url":"https://api.github.com/users/giangvo/gists{/gist_id}","starred_url":"https://api.github.com/users/giangvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giangvo/subscriptions","organizations_url":"https://api.github.com/users/giangvo/orgs","repos_url":"https://api.github.com/users/giangvo/repos","events_url":"https://api.github.com/users/giangvo/events{/privacy}","received_events_url":"https://api.github.com/users/giangvo/received_events","type":"User","site_admin":false},"created_at":"2017-09-14T07:33:31Z","updated_at":"2017-09-14T07:33:31Z","author_association":"CONTRIBUTOR","body":"I created PR for updating document here: https://github.com/home-assistant/home-assistant.github.io/pull/3367 . Please review @balloob \r\nThanks"}}
{"actor":{"display_login":"giangvo"}}