{"action":"created","comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/comments/217890897","pull_request_review_id":155720268,"id":217890897,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzg5MDg5Nw==","diff_hunk":"@@ -0,0 +1,220 @@\n+\"\"\"\n+Support for Met.no weather service.\n+\n+For more details about this platform, please refer to the documentation at\n+https://home-assistant.io/components/weather.met/\n+\"\"\"\n+import logging\n+from datetime import timedelta\n+from random import randrange\n+\n+import voluptuous as vol\n+\n+from homeassistant.components.weather import PLATFORM_SCHEMA, WeatherEntity\n+from homeassistant.const import (CONF_ELEVATION, CONF_LATITUDE, CONF_LONGITUDE,\n+                                 CONF_NAME, TEMP_CELSIUS)\n+from homeassistant.helpers import config_validation as cv\n+from homeassistant.helpers.aiohttp_client import async_get_clientsession\n+from homeassistant.helpers.event import async_call_later\n+from homeassistant.util import dt as dt_util, Throttle\n+\n+REQUIREMENTS = ['pyMetno==0.2.0']\n+\n+_LOGGER = logging.getLogger(__name__)\n+\n+CONF_ATTRIBUTION = \"Weather forecast from met.no, delivered \" \\\n+                   \"by the Norwegian Meteorological Institute.\"\n+DEFAULT_NAME = \"Met.no\"\n+\n+# https://api.met.no/weatherapi/weathericon/_/documentation/#___top\n+CONDITIONS = {1: 'sunny',\n+              2: 'partlycloudy',\n+              3: 'partlycloudy',\n+              4: 'cloudy',\n+              5: 'rainy',\n+              6: 'lightning-rainy',\n+              7: 'snowy-rainy',\n+              8: 'snowy',\n+              9: 'rainy',\n+              10: 'rainy',\n+              11: 'lightning-rainy',\n+              12: 'snowy-rainy',\n+              13: 'snowy',\n+              14: 'snowy',\n+              15: 'fog',\n+              20: 'lightning-rainy',\n+              21: 'lightning-rainy',\n+              22: 'lightning-rainy',\n+              23: 'lightning-rainy',\n+              24: 'lightning-rainy',\n+              25: 'lightning-rainy',\n+              26: 'lightning-rainy',\n+              27: 'lightning-rainy',\n+              28: 'lightning-rainy',\n+              29: 'lightning-rainy',\n+              30: 'lightning-rainy',\n+              31: 'lightning-rainy',\n+              32: 'lightning-rainy',\n+              33: 'lightning-rainy',\n+              34: 'lightning-rainy',\n+              40: 'rainy',\n+              41: 'rainy',\n+              42: 'snowy-rainy',\n+              43: 'snowy-rainy',\n+              44: 'snowy',\n+              45: 'snowy',\n+              46: 'rainy',\n+              47: 'snowy-rainy',\n+              48: 'snowy-rainy',\n+              49: 'snowy',\n+              50: 'snowy',\n+              }\n+URL = 'https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/'\n+\n+PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({\n+    vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,\n+    vol.Inclusive(CONF_LATITUDE, 'coordinates',\n+                  'Latitude and longitude must exist together'): cv.latitude,\n+    vol.Inclusive(CONF_LONGITUDE, 'coordinates',\n+                  'Latitude and longitude must exist together'): cv.longitude,\n+})\n+\n+MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=10)\n+\n+\n+async def async_setup_platform(hass, config, async_add_entities,\n+                               discovery_info=None):\n+    \"\"\"Set up the Met.no weather platform.\"\"\"\n+    elevation = config.get(CONF_ELEVATION, hass.config.elevation or 0)\n+    latitude = config.get(CONF_LATITUDE, hass.config.latitude)\n+    longitude = config.get(CONF_LONGITUDE, hass.config.longitude)\n+    name = config.get(CONF_NAME)\n+\n+    if None in (latitude, longitude):\n+        _LOGGER.error(\"Latitude or longitude not set in Home Assistant config\")\n+        return\n+\n+    coordinates = {\n+        'lat': str(latitude),\n+        'lon': str(longitude),\n+        'msl': str(elevation),\n+    }\n+\n+    async_add_entities([MetWeather(name, coordinates,\n+                                   async_get_clientsession(hass))])\n+\n+\n+class MetWeather(WeatherEntity):\n+    \"\"\"Implementation of a Met.no weather condition.\"\"\"\n+\n+    def __init__(self, name, coordinates, clientsession):\n+        \"\"\"Initialise the platform with a data instance and site.\"\"\"\n+        import metno\n+        self._name = name\n+        self._urlparams = coordinates","path":"homeassistant/components/weather/met.py","position":114,"original_position":114,"commit_id":"3066b9ecd85f87f375f5218dd14f7ea565b0723a","original_commit_id":"3066b9ecd85f87f375f5218dd14f7ea565b0723a","user":{"login":"MartinHjelmare","id":3181692,"node_id":"MDQ6VXNlcjMxODE2OTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3181692?v=4","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":"This isn't used.","created_at":"2018-09-15T17:39:12Z","updated_at":"2018-09-15T17:49:07Z","html_url":"https://github.com/home-assistant/home-assistant/pull/16582#discussion_r217890897","pull_request_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/16582","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/comments/217890897"},"html":{"href":"https://github.com/home-assistant/home-assistant/pull/16582#discussion_r217890897"},"pull_request":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/16582"}}},"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/16582","id":214998643,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0OTk4NjQz","html_url":"https://github.com/home-assistant/home-assistant/pull/16582","diff_url":"https://github.com/home-assistant/home-assistant/pull/16582.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/16582.patch","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16582","number":16582,"state":"open","locked":false,"title":"Met.no weather platform","user":{"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},"body":"## Description:\r\nA weather component with data from Met.no\r\nThis is the same data source as the yr.no sensor.\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#6287\r\n\r\n## Example entry for `configuration.yaml` (if applicable):\r\n```yaml\r\nweather:\r\n  - platform: met\r\n```\r\n\r\n## Checklist:\r\n  - [x] The code change is tested and works locally.\r\n  - [x] 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  - [x] New or updated 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#L14\r\n[ex-import]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard.py#L54\r\n","created_at":"2018-09-12T15:12:58Z","updated_at":"2018-09-15T17:49:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"686cc6345901627123808c1e0bef05e28d603a3a","assignee":{"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},"assignees":[{"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_reviewers":[],"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}],"milestone":null,"commits_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/16582/commits","review_comments_url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/16582/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/16582/comments","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant/statuses/3066b9ecd85f87f375f5218dd14f7ea565b0723a","head":{"label":"home-assistant:met_no","ref":"met_no","sha":"3066b9ecd85f87f375f5218dd14f7ea565b0723a","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","private":false,"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},"html_url":"https://github.com/home-assistant/home-assistant","description":":house_with_garden: Open source home automation that puts local control and privacy first","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-09-15T17:39:58Z","pushed_at":"2018-09-15T17:08:40Z","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":89087,"stargazers_count":16724,"watchers_count":16724,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4911,"mirror_url":null,"archived":false,"open_issues_count":867,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4911,"open_issues":867,"watchers":16724,"default_branch":"dev"}},"base":{"label":"home-assistant:dev","ref":"dev","sha":"2682d26f79c383fd623d82adb2a26afa041d7605","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","private":false,"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},"html_url":"https://github.com/home-assistant/home-assistant","description":":house_with_garden: Open source home automation that puts local control and privacy first","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-09-15T17:39:58Z","pushed_at":"2018-09-15T17:08:40Z","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":89087,"stargazers_count":16724,"watchers_count":16724,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4911,"mirror_url":null,"archived":false,"open_issues_count":867,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4911,"open_issues":867,"watchers":16724,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/16582"},"html":{"href":"https://github.com/home-assistant/home-assistant/pull/16582"},"issue":{"href":"https://api.github.com/repos/home-assistant/home-assistant/issues/16582"},"comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant/issues/16582/comments"},"review_comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant/pulls/16582/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/16582/commits"},"statuses":{"href":"https://api.github.com/repos/home-assistant/home-assistant/statuses/3066b9ecd85f87f375f5218dd14f7ea565b0723a"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"MartinHjelmare"}}