{"action":"created","comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/comments/89374981","pull_request_review_id":9921204,"id":89374981,"diff_hunk":"@@ -0,0 +1,291 @@\n+\"\"\"\n+Provides a sensor to track various status aspects of a UPS.\n+\n+For more details about this platform, please refer to the documentation at\n+https://home-assistant.io/components/sensor.nut/\n+\"\"\"\n+import logging\n+from datetime import timedelta\n+\n+import voluptuous as vol\n+\n+from homeassistant.components.sensor import PLATFORM_SCHEMA\n+import homeassistant.helpers.config_validation as cv\n+from homeassistant.const import (\n+    CONF_HOST, CONF_PORT, CONF_NAME, CONF_USERNAME, CONF_PASSWORD,\n+    TEMP_CELSIUS, CONF_RESOURCES, CONF_ALIAS, ATTR_STATE)\n+from homeassistant.helpers.entity import Entity\n+from homeassistant.util import Throttle\n+\n+REQUIREMENTS = ['pynut2==2.1.2']\n+\n+_LOGGER = logging.getLogger(__name__)\n+\n+DEFAULT_NAME = 'NUT UPS'\n+DEFAULT_HOST = 'localhost'\n+DEFAULT_PORT = 3493\n+\n+KEY_STATUS = 'ups.status'\n+\n+MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=60)\n+\n+SENSOR_TYPES = {\n+    'ups.status': ['Status Data', '', 'mdi:information-outline'],\n+    'ups.alarm': ['Alarms', '', 'mdi:alarm'],\n+    'ups.time': ['Internal Time', '', 'mdi:calendar-clock'],\n+    'ups.date': ['Internal Date', '', 'mdi:calendar'],\n+    'ups.model': ['Model', '', 'mdi:information-outline'],\n+    'ups.mfr': ['Manufacturer', '', 'mdi:information-outline'],\n+    'ups.mfr.date': ['Manufacture Date', '', 'mdi:calendar'],\n+    'ups.serial': ['Serial Number', '', 'mdi:information-outline'],\n+    'ups.vendorid': ['Vendor ID', '', 'mdi:information-outline'],\n+    'ups.productid': ['Product ID', '', 'mdi:information-outline'],\n+    'ups.firmware': ['Firmware Version', '', 'mdi:information-outline'],\n+    'ups.firmware.aux': ['Firmware Version 2', '', 'mdi:information-outline'],\n+    'ups.temperature': ['UPS Temperature', TEMP_CELSIUS, 'mdi:thermometer'],\n+    'ups.load': ['Load', '%', 'mdi:gauge'],\n+    'ups.load.high': ['Overload Setting', '%', 'mdi:gauge'],\n+    'ups.id': ['System identifier', '', 'mdi:information-outline'],\n+    'ups.delay.start': ['Load Restart Delay', 'sec', 'mdi:timer'],\n+    'ups.delay.reboot': ['UPS Reboot Delay', 'sec', 'mdi:timer'],\n+    'ups.delay.shutdown': ['UPS Shutdown Delay', 'sec', 'mdi:timer'],\n+    'ups.timer.start': ['Load Start Timer', 'sec', 'mdi:timer'],\n+    'ups.timer.reboot': ['Load Reboot Timer', 'sec', 'mdi:timer'],\n+    'ups.timer.shutdown': ['Load Shutdown Timer', 'sec', 'mdi:timer'],\n+    'ups.test.interval': ['Self-Test Interval', 'sec', 'mdi:timer'],\n+    'ups.test.result': ['Self-Test Result', '', 'mdi:information-outline'],\n+    'ups.test.date': ['Self-Test Date', '', 'mdi:calendar'],\n+    'ups.display.language': ['Language', '', 'mdi:information-outline'],\n+    'ups.contacts': ['External Contacts', '', 'mdi:information-outline'],\n+    'ups.efficiency': ['Efficiency', '%', 'mdi:gauge'],\n+    'ups.power': ['Current Apparent Power', 'VA', 'mdi:flash'],\n+    'ups.power.nominal': ['Nominal Power', 'VA', 'mdi:flash'],\n+    'ups.realpower': ['Current Real Power', 'W', 'mdi:flash'],\n+    'ups.realpower.nominal': ['Nominal Real Power', 'W', 'mdi:flash'],\n+    'ups.beeper.status': ['Beeper Status', '', 'mdi:information-outline'],\n+    'ups.type': ['UPS Type', '', 'mdi:information-outline'],\n+    'ups.watchdog.status': ['Watchdog Status', '', 'mdi:information-outline'],\n+    'ups.start.auto': ['Start on AC', '', 'mdi:information-outline'],\n+    'ups.start.battery': ['Start on Battery', '', 'mdi:information-outline'],\n+    'ups.start.reboot': ['Reboot on Battery', '', 'mdi:information-outline'],\n+    'ups.shutdown': ['Shutdown Ability', '', 'mdi:information-outline'],\n+    'battery.charge': ['Battery Charge', '%', 'mdi:gauge'],\n+    'battery.charge.low': ['Low Battery Setpoint', '%', 'mdi:gauge'],\n+    'battery.charge.restart': ['Minimum Battery to Start', '%', 'mdi:gauge'],\n+    'battery.charge.warning': ['Warning Battery Setpoint', '%', 'mdi:gauge'],\n+    'battery.charger.status':\n+        ['Charging Status', '', 'mdi:information-outline'],\n+    'battery.voltage': ['Battery Voltage', 'V', 'mdi:flash'],\n+    'battery.voltage.nominal': ['Nominal Battery Voltage', 'V', 'mdi:flash'],\n+    'battery.voltage.low': ['Low Battery Voltage', 'V', 'mdi:flash'],\n+    'battery.voltage.high': ['High Battery Voltage', 'V', 'mdi:flash'],\n+    'battery.capacity': ['Battery Capacity', 'Ah', 'mdi:flash'],\n+    'battery.current': ['Battery Current', 'A', 'mdi:flash'],\n+    'battery.current.total': ['Total Battery Current', 'A', 'mdi:flash'],\n+    'battery.temperature':\n+        ['Battery Temperature', TEMP_CELSIUS, 'mdi:thermometer'],\n+    'battery.runtime': ['Battery Runtime', 'sec', 'mdi:timer'],\n+    'battery.runtime.low': ['Low Battery Runtime', 'sec', 'mdi:timer'],\n+    'battery.runtime.restart':\n+        ['Minimum Battery Runtime to Start', 'sec', 'mdi:timer'],\n+    'battery.alarm.threshold':\n+        ['Battery Alarm Threshold', '', 'mdi:information-outline'],\n+    'battery.date': ['Battery Date', '', 'mdi:calendar'],\n+    'battery.mfr.date': ['Battery Manuf. Date', '', 'mdi:calendar'],\n+    'battery.packs': ['Number of Batteries', '', 'mdi:information-outline'],\n+    'battery.packs.bad':\n+        ['Number of Bad Batteries', '', 'mdi:information-outline'],\n+    'battery.type': ['Battery Chemistry', '', 'mdi:information-outline'],\n+    'input.sensitivity':\n+        ['Input Power Sensitivity', '', 'mdi:information-outline'],\n+    'input.transfer.low': ['Low Voltage Transfer', 'V', 'mdi:flash'],\n+    'input.transfer.high': ['High Voltage Transfer', 'V', 'mdi:flash'],\n+    'input.transfer.reason':\n+        ['Voltage Transfer Reason', '', 'mdi:information-outline'],\n+    'input.voltage': ['Input Voltage', 'V', 'mdi:flash'],\n+    'input.voltage.nominal': ['Nominal Input Voltage', 'V', 'mdi:flash'],\n+}\n+\n+STATE_TYPES = {\n+    'OL': 'Online',\n+    'OB': 'On Battery',\n+    'LB': 'Low Battery',\n+    'HB': 'High Battery',\n+    'RB': 'Battery Needs Replaced',\n+    'CHRG': 'Battery Charging',\n+    'BYPASS': 'Bypass Active',\n+    'CAL': 'Runtime Calibration',\n+    'OFF': 'Offline',\n+    'OVER': 'Overloaded',\n+    'TRIM': 'Trimming Voltage',\n+    'BOOST': 'Boosting Voltage',\n+    'FSD': 'Forced Shutdown',\n+}\n+\n+PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({\n+    vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,\n+    vol.Optional(CONF_HOST, default=DEFAULT_HOST): cv.string,\n+    vol.Optional(CONF_PORT, default=DEFAULT_PORT): cv.port,\n+    vol.Optional(CONF_ALIAS, default=None): cv.string,\n+    vol.Optional(CONF_USERNAME, default=None): cv.string,\n+    vol.Optional(CONF_PASSWORD, default=None): cv.string,\n+    vol.Required(CONF_RESOURCES, default=[]):\n+        vol.All(cv.ensure_list, [vol.In(SENSOR_TYPES)]),\n+}, extra=vol.ALLOW_EXTRA)\n+","path":"homeassistant/components/sensor/nut.py","position":135,"original_position":135,"commit_id":"d79598cf33c6077e755e7e71bdbe6bd02466e877","original_commit_id":"d79598cf33c6077e755e7e71bdbe6bd02466e877","user":{"login":"fabaff","id":116184,"avatar_url":"https://avatars.githubusercontent.com/u/116184?v=3","gravatar_id":"","url":"https://api.github.com/users/fabaff","html_url":"https://github.com/fabaff","followers_url":"https://api.github.com/users/fabaff/followers","following_url":"https://api.github.com/users/fabaff/following{/other_user}","gists_url":"https://api.github.com/users/fabaff/gists{/gist_id}","starred_url":"https://api.github.com/users/fabaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabaff/subscriptions","organizations_url":"https://api.github.com/users/fabaff/orgs","repos_url":"https://api.github.com/users/fabaff/repos","events_url":"https://api.github.com/users/fabaff/events{/privacy}","received_events_url":"https://api.github.com/users/fabaff/received_events","type":"User","site_admin":false},"body":"No need for `ALLOW__EXTRA`.","created_at":"2016-11-23T18:33:04Z","updated_at":"2016-11-23T18:48:51Z","html_url":"https://github.com/home-assistant/home-assistant/pull/4551#discussion_r89374981","pull_request_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4551","_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/comments/89374981"},"html":{"href":"https://github.com/home-assistant/home-assistant/pull/4551#discussion_r89374981"},"pull_request":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4551"}}},"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4551","id":95041394,"html_url":"https://github.com/home-assistant/home-assistant/pull/4551","diff_url":"https://github.com/home-assistant/home-assistant/pull/4551.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/4551.patch","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4551","number":4551,"state":"open","locked":false,"title":"Add support for NUT (Network UPS Tools) sensor.","user":{"login":"mezz64","id":2854333,"avatar_url":"https://avatars.githubusercontent.com/u/2854333?v=3","gravatar_id":"","url":"https://api.github.com/users/mezz64","html_url":"https://github.com/mezz64","followers_url":"https://api.github.com/users/mezz64/followers","following_url":"https://api.github.com/users/mezz64/following{/other_user}","gists_url":"https://api.github.com/users/mezz64/gists{/gist_id}","starred_url":"https://api.github.com/users/mezz64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mezz64/subscriptions","organizations_url":"https://api.github.com/users/mezz64/orgs","repos_url":"https://api.github.com/users/mezz64/repos","events_url":"https://api.github.com/users/mezz64/events{/privacy}","received_events_url":"https://api.github.com/users/mezz64/received_events","type":"User","site_admin":false},"body":"**Description:**\r\nThis adds a NUT (Network UPS Tools) sensor platform to pull information from a NUT ups server.  It is based on the pynut2 library and the existing apcupsd framework.\r\n\r\n**Related issue (if applicable):** fixes #<home-assistant issue number goes here>\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\nhome-assistant.io PR coming in shortly....\r\n\r\n**Example entry for `configuration.yaml` (if applicable):**\r\n```yaml\r\nsensor:\r\n    - platform: nut\r\n      name: Unraid\r\n      host: 192.168.11.5\r\n      resources:\r\n        - ups.load\r\n        - ups.realpower.nominal\r\n        - input.voltage\r\n        - battery.runtime\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) *Coming Soon\r\n\r\nIf the code communicates with devices, web services, or third-party tools:\r\n  - [x] Local tests with `tox` run successfully. **Your PR cannot be merged unless tests pass**\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  - [x] New dependencies have been added to `requirements_all.txt` by running `script/gen_requirements_all.py`.\r\n  - [x] New files were added to `.coveragerc`.\r\n\r\n[ex-requir]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard.py#L16\r\n[ex-import]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard.py#L51\r\n\r\n","created_at":"2016-11-23T16:52:58Z","updated_at":"2016-11-23T18:48:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e82d9cfe5eee01d9b3c28a0bac0dc321b7b9237f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4551/commits","review_comments_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4551/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/4551/comments","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant/statuses/d79598cf33c6077e755e7e71bdbe6bd02466e877","head":{"label":"mezz64:nut","ref":"nut","sha":"d79598cf33c6077e755e7e71bdbe6bd02466e877","user":{"login":"mezz64","id":2854333,"avatar_url":"https://avatars.githubusercontent.com/u/2854333?v=3","gravatar_id":"","url":"https://api.github.com/users/mezz64","html_url":"https://github.com/mezz64","followers_url":"https://api.github.com/users/mezz64/followers","following_url":"https://api.github.com/users/mezz64/following{/other_user}","gists_url":"https://api.github.com/users/mezz64/gists{/gist_id}","starred_url":"https://api.github.com/users/mezz64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mezz64/subscriptions","organizations_url":"https://api.github.com/users/mezz64/orgs","repos_url":"https://api.github.com/users/mezz64/repos","events_url":"https://api.github.com/users/mezz64/events{/privacy}","received_events_url":"https://api.github.com/users/mezz64/received_events","type":"User","site_admin":false},"repo":{"id":68411158,"name":"home-assistant","full_name":"mezz64/home-assistant","owner":{"login":"mezz64","id":2854333,"avatar_url":"https://avatars.githubusercontent.com/u/2854333?v=3","gravatar_id":"","url":"https://api.github.com/users/mezz64","html_url":"https://github.com/mezz64","followers_url":"https://api.github.com/users/mezz64/followers","following_url":"https://api.github.com/users/mezz64/following{/other_user}","gists_url":"https://api.github.com/users/mezz64/gists{/gist_id}","starred_url":"https://api.github.com/users/mezz64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mezz64/subscriptions","organizations_url":"https://api.github.com/users/mezz64/orgs","repos_url":"https://api.github.com/users/mezz64/repos","events_url":"https://api.github.com/users/mezz64/events{/privacy}","received_events_url":"https://api.github.com/users/mezz64/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mezz64/home-assistant","description":":house_with_garden: Open-source home automation platform running on Python 3","fork":true,"url":"https://api.github.com/repos/mezz64/home-assistant","forks_url":"https://api.github.com/repos/mezz64/home-assistant/forks","keys_url":"https://api.github.com/repos/mezz64/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mezz64/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mezz64/home-assistant/teams","hooks_url":"https://api.github.com/repos/mezz64/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/mezz64/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/mezz64/home-assistant/events","assignees_url":"https://api.github.com/repos/mezz64/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/mezz64/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/mezz64/home-assistant/tags","blobs_url":"https://api.github.com/repos/mezz64/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mezz64/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mezz64/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/mezz64/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mezz64/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/mezz64/home-assistant/languages","stargazers_url":"https://api.github.com/repos/mezz64/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/mezz64/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/mezz64/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/mezz64/home-assistant/subscription","commits_url":"https://api.github.com/repos/mezz64/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/mezz64/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/mezz64/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/mezz64/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/mezz64/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/mezz64/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mezz64/home-assistant/merges","archive_url":"https://api.github.com/repos/mezz64/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mezz64/home-assistant/downloads","issues_url":"https://api.github.com/repos/mezz64/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/mezz64/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/mezz64/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/mezz64/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mezz64/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/mezz64/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/mezz64/home-assistant/deployments","created_at":"2016-09-16T20:04:27Z","updated_at":"2016-09-16T20:04:31Z","pushed_at":"2016-11-23T16:27:13Z","git_url":"git://github.com/mezz64/home-assistant.git","ssh_url":"git@github.com:mezz64/home-assistant.git","clone_url":"https://github.com/mezz64/home-assistant.git","svn_url":"https://github.com/mezz64/home-assistant","homepage":"https://home-assistant.io","size":43575,"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":"home-assistant:dev","ref":"dev","sha":"5013a826550d1acc451212fad09f01b5cabb2040","user":{"login":"home-assistant","id":13844975,"avatar_url":"https://avatars.githubusercontent.com/u/13844975?v=3","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,"name":"home-assistant","full_name":"home-assistant/home-assistant","owner":{"login":"home-assistant","id":13844975,"avatar_url":"https://avatars.githubusercontent.com/u/13844975?v=3","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":"2016-11-23T16:18:43Z","pushed_at":"2016-11-23T18:31:26Z","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":86508,"stargazers_count":4706,"watchers_count":4706,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1237,"mirror_url":null,"open_issues_count":308,"forks":1237,"open_issues":308,"watchers":4706,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4551"},"html":{"href":"https://github.com/home-assistant/home-assistant/pull/4551"},"issue":{"href":"https://api.github.com/repos/home-assistant/home-assistant/issues/4551"},"comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant/issues/4551/comments"},"review_comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/4551/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/4551/commits"},"statuses":{"href":"https://api.github.com/repos/home-assistant/home-assistant/statuses/d79598cf33c6077e755e7e71bdbe6bd02466e877"}}}}
{"actor":{"display_login":"fabaff"}}