{"action":"created","comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/comments/200853394","pull_request_review_id":135245081,"id":200853394,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDg1MzM5NA==","diff_hunk":"@@ -0,0 +1,352 @@\n+\"\"\"\n+Support for Chinese wifi thermostats (Floureon, Beok, Beca Energy)\n+configuration.yaml\n+climate:\n+  - platform: broadlink\n+    name: xxx\n+    mac: xxxx\n+    host: xxxx\n+\"\"\"\n+\n+import logging, binascii, json, pytz\n+import voluptuous as vol\n+from socket import timeout\n+from datetime import timedelta\n+\n+_LOGGER = logging.getLogger(__name__)\n+\n+from homeassistant.components.climate import ClimateDevice, SUPPORT_TARGET_TEMPERATURE, SUPPORT_ON_OFF, PLATFORM_SCHEMA, \\\n+    SUPPORT_OPERATION_MODE, DEFAULT_MIN_TEMP, DEFAULT_MAX_TEMP, STATE_AUTO\n+from homeassistant.const import TEMP_CELSIUS, ATTR_TEMPERATURE, CONF_HOST, CONF_MAC, CONF_NAME, STATE_ON, STATE_OFF\n+from homeassistant.helpers.discovery import load_platform\n+import homeassistant.helpers.config_validation as cv\n+\n+DOMAIN = 'broadlink'\n+REQUIREMENTS = ['broadlink==0.9.0']\n+DEPENDENCIES = []\n+\n+POWER_ON = 1\n+POWER_OFF = 0\n+AUTO = 1\n+MANUAL = 0\n+\n+CONF_MODE_LIST = 'modes'\n+CONF_MIN_TEMP = 'min_temp'\n+CONF_MAX_TEMP = 'max_temp'\n+\n+# 1 | SEN | Sensor control option | 0:internal sensor 1:external sensor 2:internal control temperature, external limit temperature | 0:internal sensor\n+# 2 | OSV | Limit temperature value of external sensor | 5-99C | 42C\n+# 3 | dIF | Return difference of limit temperature value of external sensor | 1-9C | 2C\n+# 4 | SVH | Set upper limit temperature value | 5-99C | 35C\n+# 5 | SVL | Set lower limit temperature value | 5-99C | 5C\n+# 6 | AdJ | Measure temperature | Measure temperature,check and calibration | 0.1C precision Calibration (actual temperature)\n+# 7 | FrE | Anti-freezing function | 00:anti-freezing function shut down 01:anti-freezing function open | 00:anti-freezing function shut down\n+# 8 | POn | Power on memory | 00:Power on no need memory 01:Power on need memory | 00:Power on no need memory\n+# loop_mode refers to index in [ \"12345,67\", \"123456,7\", \"1234567\" ]\n+# E.g. loop_mode = 0 (\"12345,67\") means Saturday and Sunday follow the \"weekend\" schedule\n+# loop = 2 (\"1234567\") means every day (including Saturday and Sunday) follows the \"weekday\" schedule\n+# schedule_week_day is a list (ordered) of 6 dicts like:\n+# {'start_hour':17, 'start_minute':30, 'temp': 22 }\n+# Each one specifies the thermostat temp that will become effective at start_hour:start_minute\n+# schedule_week_end is similar but only has 2 (e.g. switch on in morning and off in afternoon)\n+CONF_ADVANCED_CONFIG = 'advanced_config'\n+CONF_SCHEDULE_WEEKDAY = 'schedule_week_day'\n+CONF_SCHEDULE_WEEKEND = 'schedule_week_end'\n+CONF_WEEKDAY = \"weekday\"\n+CONF_WEEKEND = \"weekend\"\n+\n+# Validation of the user's configuration\n+PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({\n+    vol.Required(CONF_HOST): cv.string,\n+    vol.Required(CONF_MAC): cv.string,\n+    vol.Required(CONF_NAME): cv.string,\n+    vol.Optional(CONF_MIN_TEMP, default=5): cv.positive_int,\n+    vol.Optional(CONF_MAX_TEMP, default=35): cv.positive_int,\n+    vol.Optional(CONF_ADVANCED_CONFIG,\n+                 default='{\"loop_mode\": \"0\", \"sen\": \"0\", \"osv\": \"42\", \"dif\": \"2\", \"svh\": \"35\", \"svl\": \"5\", \"adj\": \"0\", \"fre\": \"01\", \"pon\": \"00\"}'): cv.string,\n+    vol.Optional(CONF_SCHEDULE_WEEKDAY,\n+                 default='[{\"start_hour\":\"06\", \"start_minute\":\"30\", \"temp\":\"20\"}, {\"start_hour\":\"09\", \"start_minute\":\"00\", \"temp\":\"17\"}, {\"start_hour\":\"12\", \"start_minute\":\"00\", \"temp\":\"20\" }, {\"start_hour\":\"14\", \"start_minute\":\"00\", \"temp\":\"17\"}, {\"start_hour\":\"18\", \"start_minute\":\"00\", \"temp\":\"20\" }, {\"start_hour\":22, \"start_minute\":30, \"temp\":17}]'): cv.string,\n+    vol.Optional(CONF_SCHEDULE_WEEKEND,\n+                 default='[{\"start_hour\":\"08\", \"start_minute\":\"30\", \"temp\":\"20\"}, {\"start_hour\":\"23\", \"start_minute\":\"00\", \"temp\":\"17\"}]'): cv.string\n+})\n+\n+SET_SCHEDULE_SCHEMA = vol.Schema({\n+    vol.Required(CONF_WEEKDAY,\n+                 default='[{\"start_hour\":\"06\", \"start_minute\":\"30\", \"temp\":\"20\"}, {\"start_hour\":\"09\", \"start_minute\":\"00\", \"temp\":\"17\"}, {\"start_hour\":\"12\", \"start_minute\":\"00\", \"temp\":\"20\" }, {\"start_hour\":\"14\", \"start_minute\":\"00\", \"temp\":\"17\"}, {\"start_hour\":\"18\", \"start_minute\":\"00\", \"temp\":\"20\" }, {\"start_hour\":22, \"start_minute\":30, \"temp\":17}]'): cv.string,\n+    vol.Required(CONF_WEEKEND,\n+                 default='[{\"start_hour\":\"08\", \"start_minute\":\"30\", \"temp\":\"20\"}, {\"start_hour\":\"23\", \"start_minute\":\"00\", \"temp\":\"17\"}]'): cv.string\n+})\n+\n+SET_ADVANCED_CONF_SCHEMA = vol.Schema({\n+    vol.Required(CONF_ADVANCED_CONFIG,\n+                 default='{\"loop_mode\": \"0\", \"sen\": \"0\", \"osv\": \"42\", \"dif\": \"2\", \"svh\": \"35\", \"svl\": \"5\", \"adj\": \"0\", \"fre\": \"01\", \"pon\": \"00\"}'): cv.string,\n+})\n+\n+\n+def setup_platform(hass, config, add_devices, discovery_info=None):\n+    _LOGGER.debug(\"Adding component: wifi_thermostat ...\")\n+\n+    mac_addr = config.get(CONF_MAC)\n+    ip_addr = config.get(CONF_HOST)\n+    name = config.get(CONF_NAME)\n+    _LOGGER.info(\"[\" + DOMAIN + \"] mac: \" + mac_addr + \" | ip_addr: \" + ip_addr + \" | name: \" + name)\n+\n+    if mac_addr is None:\n+        _LOGGER.error(\"Wifi Thermostat: Invalid mac_addr !\")\n+        return False\n+\n+    if ip_addr is None:\n+        _LOGGER.error(\"Wifi Thermostat: Invalid ip_addr !\")\n+        return False\n+\n+    if name is None:\n+        _LOGGER.error(\"Wifi Thermostat: Invalid name !\")\n+        return False\n+\n+    wt = wifi_thermostat(mac_addr,\n+                         ip_addr,\n+                         name,\n+                         config.get(CONF_ADVANCED_CONFIG),\n+                         config.get(CONF_SCHEDULE_WEEKDAY),\n+                         config.get(CONF_SCHEDULE_WEEKDAY),\n+                         config.get(CONF_MIN_TEMP),\n+                         config.get(CONF_MAX_TEMP))\n+\n+    add_devices([WifiThermostat(hass, wt)])\n+\n+    def handle_set_schedule(service):\n+        wt = wifi_thermostat(config.get(CONF_MAC),\n+                             config.get(CONF_HOST),\n+                             config.get(CONF_NAME),\n+                             config.get(CONF_ADVANCED_CONFIG),\n+                             config.get(CONF_SCHEDULE_WEEKDAY),\n+                             config.get(CONF_SCHEDULE_WEEKDAY),\n+                             config.get(CONF_MIN_TEMP),\n+                             config.get(CONF_MAX_TEMP))\n+        schedule_wd = service.data.get(CONF_SCHEDULE_WEEKDAY)\n+        schedule_we = service.data.get(CONF_SCHEDULE_WEEKEND)\n+        wt.set_schedule({CONF_WEEKDAY: json.loads(schedule_wd.replace(\"'\", '\"'), cls=Decoder),\n+                         CONF_WEEKEND: json.loads(schedule_we.replace(\"'\", '\"'), cls=Decoder)})","path":"homeassistant/components/climate/broadlink.py","position":129,"original_position":129,"commit_id":"2da5d6c5570bfc93b2bab15b36954d995e6bf0b2","original_commit_id":"2da5d6c5570bfc93b2bab15b36954d995e6bf0b2","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"line too long (95 > 79 characters)","created_at":"2018-07-08T20:49:12Z","updated_at":"2018-07-08T20:49:13Z","html_url":"https://github.com/home-assistant/home-assistant/pull/15363#discussion_r200853394","pull_request_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/15363","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/comments/200853394"},"html":{"href":"https://github.com/home-assistant/home-assistant/pull/15363#discussion_r200853394"},"pull_request":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/15363"}}},"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/15363","id":199951243,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTUxMjQz","html_url":"https://github.com/home-assistant/home-assistant/pull/15363","diff_url":"https://github.com/home-assistant/home-assistant/pull/15363.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/15363.patch","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/15363","number":15363,"state":"open","locked":false,"title":"add broadlink climate platform","user":{"login":"clementTal","id":1974091,"node_id":"MDQ6VXNlcjE5NzQwOTE=","avatar_url":"https://avatars2.githubusercontent.com/u/1974091?v=4","gravatar_id":"","url":"https://api.github.com/users/clementTal","html_url":"https://github.com/clementTal","followers_url":"https://api.github.com/users/clementTal/followers","following_url":"https://api.github.com/users/clementTal/following{/other_user}","gists_url":"https://api.github.com/users/clementTal/gists{/gist_id}","starred_url":"https://api.github.com/users/clementTal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clementTal/subscriptions","organizations_url":"https://api.github.com/users/clementTal/orgs","repos_url":"https://api.github.com/users/clementTal/repos","events_url":"https://api.github.com/users/clementTal/events{/privacy}","received_events_url":"https://api.github.com/users/clementTal/received_events","type":"User","site_admin":false},"body":"## Description:\r\nThe broadlink_thermostat climate platform is a thermostat implemented in Home Assistant. It uses a sensor and a switch connected to a heater or air conditioning under the hood. When in heater mode, if the measured temperature is cooler then the target temperature, the heater will be turned on and turned off when the required temperature is reached. When in air conditioning mode, if the measured temperature is hotter then the target temperature, the air conditioning will be turned on and turned off when required temperature is reached.\r\n\r\n**Related issue (if applicable):** \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#5692\r\n\r\n## Example entry for `configuration.yaml` (if applicable):\r\n```yaml\r\nclimate:\r\n  - platform: broadlink\r\n    name: Thermostat\r\n    mac: \"xx:xx:xx:xx:xx\"\r\n    host: \"xxx.xxx.xxx.xxx\"\r\n    advanced_config: '{\"loop_mode\": \"0\", \"sen\": \"2\", \"osv\": \"42\", \"dif\": \"2\", \"svh\": \"35\", \"svl\": \"5\", \"adj\": \"0.5\", \"fre\": \"01\", \"pon\": \"00\"}'\r\n    schedule_week_day: '[{\"start_hour\":\"06\", \"start_minute\":\"30\", \"temp\":\"20\"}, {\"start_hour\":\"09\", \"start_minute\":\"00\", \"temp\":\"17\"}, {\"start_hour\":\"12\", \"start_minute\":\"00\", \"temp\":\"20\" }, {\"start_hour\":\"14\", \"start_minute\":\"00\", \"temp\":\"17\"}, {\"start_hour\":\"18\", \"start_minute\":\"00\", \"temp\":\"20\" }, {\"start_hour\":22, \"start_minute\":30, \"temp\":17}]'\r\n    schedule_week_end: '[{\"start_hour\":\"08\", \"start_minute\":\"30\", \"temp\":\"20\"}, {\"start_hour\":\"23\", \"start_minute\":\"00\", \"temp\":\"17\"}]'\r\n```\r\n\r\n## Checklist:\r\n  - [x] The code change is tested and works locally.\r\n  - [ ] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**\r\n\r\nIf user exposed functionality or configuration variables are added/changed:\r\n  - [x] Documentation added/updated in [home-assistant.github.io](https://github.com/home-assistant/home-assistant.github.io)\r\n\r\nIf the code communicates with devices, web services, or third-party tools:\r\n  - [x] New dependencies have been added to the `REQUIREMENTS` variable ([example][ex-requir]).\r\n  - [x] New dependencies are only imported inside functions that use them ([example][ex-import]).\r\n  - [ ] New or updated 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\nIf the code does not interact with devices:\r\n  - [ ] Tests have been added to verify that the new code works.\r\n\r\n[ex-requir]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard.py#L14\r\n[ex-import]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard.py#L54\r\n","created_at":"2018-07-08T17:06:13Z","updated_at":"2018-07-08T20:49:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad0b43712178cdda146c00ec5eaaa10d78c0beb4","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Danielhiversen","id":650502,"node_id":"MDQ6VXNlcjY1MDUwMg==","avatar_url":"https://avatars0.githubusercontent.com/u/650502?v=4","gravatar_id":"","url":"https://api.github.com/users/Danielhiversen","html_url":"https://github.com/Danielhiversen","followers_url":"https://api.github.com/users/Danielhiversen/followers","following_url":"https://api.github.com/users/Danielhiversen/following{/other_user}","gists_url":"https://api.github.com/users/Danielhiversen/gists{/gist_id}","starred_url":"https://api.github.com/users/Danielhiversen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danielhiversen/subscriptions","organizations_url":"https://api.github.com/users/Danielhiversen/orgs","repos_url":"https://api.github.com/users/Danielhiversen/repos","events_url":"https://api.github.com/users/Danielhiversen/events{/privacy}","received_events_url":"https://api.github.com/users/Danielhiversen/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":527871105,"node_id":"MDU6TGFiZWw1Mjc4NzExMDU=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/cla-signed","name":"cla-signed","color":"008000","default":false},{"id":955422305,"node_id":"MDU6TGFiZWw5NTU0MjIzMDU=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":526146744,"node_id":"MDU6TGFiZWw1MjYxNDY3NDQ=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/new-platform","name":"new-platform","color":"ededed","default":false},{"id":987533429,"node_id":"MDU6TGFiZWw5ODc1MzM0Mjk=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/platform:%20climate.broadlink","name":"platform: climate.broadlink","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/15363/commits","review_comments_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/15363/comments","review_comment_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/15363/comments","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant/statuses/2da5d6c5570bfc93b2bab15b36954d995e6bf0b2","head":{"label":"clementTal:add_broadlink_climate","ref":"add_broadlink_climate","sha":"2da5d6c5570bfc93b2bab15b36954d995e6bf0b2","user":{"login":"clementTal","id":1974091,"node_id":"MDQ6VXNlcjE5NzQwOTE=","avatar_url":"https://avatars2.githubusercontent.com/u/1974091?v=4","gravatar_id":"","url":"https://api.github.com/users/clementTal","html_url":"https://github.com/clementTal","followers_url":"https://api.github.com/users/clementTal/followers","following_url":"https://api.github.com/users/clementTal/following{/other_user}","gists_url":"https://api.github.com/users/clementTal/gists{/gist_id}","starred_url":"https://api.github.com/users/clementTal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clementTal/subscriptions","organizations_url":"https://api.github.com/users/clementTal/orgs","repos_url":"https://api.github.com/users/clementTal/repos","events_url":"https://api.github.com/users/clementTal/events{/privacy}","received_events_url":"https://api.github.com/users/clementTal/received_events","type":"User","site_admin":false},"repo":{"id":140185788,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAxODU3ODg=","name":"home-assistant","full_name":"clementTal/home-assistant","owner":{"login":"clementTal","id":1974091,"node_id":"MDQ6VXNlcjE5NzQwOTE=","avatar_url":"https://avatars2.githubusercontent.com/u/1974091?v=4","gravatar_id":"","url":"https://api.github.com/users/clementTal","html_url":"https://github.com/clementTal","followers_url":"https://api.github.com/users/clementTal/followers","following_url":"https://api.github.com/users/clementTal/following{/other_user}","gists_url":"https://api.github.com/users/clementTal/gists{/gist_id}","starred_url":"https://api.github.com/users/clementTal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clementTal/subscriptions","organizations_url":"https://api.github.com/users/clementTal/orgs","repos_url":"https://api.github.com/users/clementTal/repos","events_url":"https://api.github.com/users/clementTal/events{/privacy}","received_events_url":"https://api.github.com/users/clementTal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clementTal/home-assistant","description":":house_with_garden: Open-source home automation platform running on Python 3","fork":true,"url":"https://api.github.com/repos/clementTal/home-assistant","forks_url":"https://api.github.com/repos/clementTal/home-assistant/forks","keys_url":"https://api.github.com/repos/clementTal/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clementTal/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clementTal/home-assistant/teams","hooks_url":"https://api.github.com/repos/clementTal/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/clementTal/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/clementTal/home-assistant/events","assignees_url":"https://api.github.com/repos/clementTal/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/clementTal/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/clementTal/home-assistant/tags","blobs_url":"https://api.github.com/repos/clementTal/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clementTal/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clementTal/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/clementTal/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clementTal/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/clementTal/home-assistant/languages","stargazers_url":"https://api.github.com/repos/clementTal/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/clementTal/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/clementTal/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/clementTal/home-assistant/subscription","commits_url":"https://api.github.com/repos/clementTal/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/clementTal/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/clementTal/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/clementTal/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/clementTal/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/clementTal/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clementTal/home-assistant/merges","archive_url":"https://api.github.com/repos/clementTal/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clementTal/home-assistant/downloads","issues_url":"https://api.github.com/repos/clementTal/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/clementTal/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/clementTal/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/clementTal/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clementTal/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/clementTal/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/clementTal/home-assistant/deployments","created_at":"2018-07-08T16:49:15Z","updated_at":"2018-07-08T16:49:24Z","pushed_at":"2018-07-08T20:49:04Z","git_url":"git://github.com/clementTal/home-assistant.git","ssh_url":"git@github.com:clementTal/home-assistant.git","clone_url":"https://github.com/clementTal/home-assistant.git","svn_url":"https://github.com/clementTal/home-assistant","homepage":"https://home-assistant.io","size":84326,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"home-assistant:dev","ref":"dev","sha":"b333dba8750994b2131732a04f6e6b9fd28f1e11","user":{"login":"home-assistant","id":13844975,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODQ0OTc1","avatar_url":"https://avatars3.githubusercontent.com/u/13844975?v=4","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"repo":{"id":12888993,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg4ODk5Mw==","name":"home-assistant","full_name":"home-assistant/home-assistant","owner":{"login":"home-assistant","id":13844975,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODQ0OTc1","avatar_url":"https://avatars3.githubusercontent.com/u/13844975?v=4","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/home-assistant/home-assistant","description":":house_with_garden: Open-source home automation platform running on Python 3","fork":false,"url":"https://api.github.com/repos/home-assistant/home-assistant","forks_url":"https://api.github.com/repos/home-assistant/home-assistant/forks","keys_url":"https://api.github.com/repos/home-assistant/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/home-assistant/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/home-assistant/home-assistant/teams","hooks_url":"https://api.github.com/repos/home-assistant/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/home-assistant/home-assistant/events","assignees_url":"https://api.github.com/repos/home-assistant/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/home-assistant/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/home-assistant/home-assistant/tags","blobs_url":"https://api.github.com/repos/home-assistant/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/home-assistant/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/home-assistant/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/home-assistant/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/home-assistant/home-assistant/languages","stargazers_url":"https://api.github.com/repos/home-assistant/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/home-assistant/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/home-assistant/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/home-assistant/home-assistant/subscription","commits_url":"https://api.github.com/repos/home-assistant/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/home-assistant/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/home-assistant/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/home-assistant/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/home-assistant/home-assistant/merges","archive_url":"https://api.github.com/repos/home-assistant/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/home-assistant/home-assistant/downloads","issues_url":"https://api.github.com/repos/home-assistant/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/home-assistant/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/home-assistant/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/home-assistant/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/home-assistant/home-assistant/deployments","created_at":"2013-09-17T07:29:48Z","updated_at":"2018-07-08T20:45:20Z","pushed_at":"2018-07-08T20:49:06Z","git_url":"git://github.com/home-assistant/home-assistant.git","ssh_url":"git@github.com:home-assistant/home-assistant.git","clone_url":"https://github.com/home-assistant/home-assistant.git","svn_url":"https://github.com/home-assistant/home-assistant","homepage":"https://home-assistant.io","size":84292,"stargazers_count":15122,"watchers_count":15122,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4508,"mirror_url":null,"archived":false,"open_issues_count":901,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4508,"open_issues":901,"watchers":15122,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/15363"},"html":{"href":"https://github.com/home-assistant/home-assistant/pull/15363"},"issue":{"href":"https://api.github.com/repos/home-assistant/home-assistant/issues/15363"},"comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant/issues/15363/comments"},"review_comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/15363/comments"},"review_comment":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/15363/commits"},"statuses":{"href":"https://api.github.com/repos/home-assistant/home-assistant/statuses/2da5d6c5570bfc93b2bab15b36954d995e6bf0b2"}},"author_association":"NONE"}}
{"actor":{"display_login":"houndci-bot"}}