{"action":"created","comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/comments/228793391","pull_request_review_id":169141603,"id":228793391,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODc5MzM5MQ==","diff_hunk":"@@ -0,0 +1,236 @@\n+import { html, LitElement } from \"@polymer/lit-element\";\r\n+import { repeat } from \"lit-html/directives/repeat\";\r\n+import \"@polymer/paper-checkbox/paper-checkbox.js\";\r\n+import \"@polymer/paper-icon-button/paper-icon-button.js\";\r\n+import \"@polymer/paper-input/paper-input.js\";\r\n+import \"@polymer/paper-item/paper-icon-item.js\";\r\n+import \"@polymer/paper-item/paper-item-body.js\";\r\n+import \"@polymer/paper-fab/paper-fab.js\";\r\n+\r\n+import \"../../../components/ha-card.js\";\r\n+\r\n+import { hassLocalizeLitMixin } from \"../../../mixins/lit-localize-mixin\";\r\n+import { HomeAssistant } from \"../../../types.js\";\r\n+import { LovelaceCard, LovelaceConfig } from \"../types.js\";\r\n+import {\r\n+  clearItems,\r\n+  fetchItems,\r\n+  addItem,\r\n+  completeItem,\r\n+  saveEdit,\r\n+  deleteItem,\r\n+} from \"../../../data/shopping_list\";\r\n+import { TemplateResult } from \"lit-html\";\r\n+\r\n+interface Config extends LovelaceConfig {\r\n+  title?: string;\r\n+}\r\n+\r\n+export interface ShoppingListItem {\r\n+  id: number;\r\n+  name: string;\r\n+  complete: boolean;\r\n+}\r\n+\r\n+class HuiShoppingListCard extends hassLocalizeLitMixin(LitElement)\r\n+  implements LovelaceCard {\r\n+  public hass?: HomeAssistant;\r\n+  protected _config?: Config;\r\n+  private _items?: ShoppingListItem[];\r\n+  private _unsubEvents?: () => Promise<void>;\r\n+\r\n+  static get properties() {\r\n+    return {\r\n+      _config: {},\r\n+      _items: {},\r\n+    };\r\n+  }\r\n+\r\n+  public getCardSize(): number {\r\n+    return (\r\n+      (this._config ? (this._config.title ? 1 : 0) : 0) +\r\n+      (this._items ? this._items.length : 3)\r\n+    );\r\n+  }\r\n+\r\n+  public setConfig(config: Config): void {\r\n+    this._config = config;\r\n+    this._items = [];\r\n+    this._fetchData();\r\n+  }\r\n+\r\n+  public connectedCallback() {\r\n+    super.connectedCallback();\r\n+\r\n+    if (this.hass) {\r\n+      this.hass.connection\r\n+        .subscribeEvents(() => this._fetchData(), \"shopping_list_updated\")\r\n+        .then(\r\n+          (unsub: () => Promise<void>): void => {\r\n+            this._unsubEvents = unsub;\r\n+          }\r\n+        );\r\n+      this._fetchData();\r\n+    }\r\n+  }\r\n+\r\n+  public disconnectedCallback() {\r\n+    super.disconnectedCallback();\r\n+\r\n+    if (this._unsubEvents) {\r\n+      this._unsubEvents();\r\n+    }\r\n+  }\r\n+\r\n+  protected render(): TemplateResult {\r\n+    if (!this._config || !this.hass) {\r\n+      return html``;\r\n+    }\r\n+\r\n+    return html`\r\n+      ${this.renderStyle()}\r\n+      <ha-card .header=\"${this._config.title}\">\r\n+        <div class=\"addRow\">\r\n+          <paper-input\r\n+            id='addBox'\r\n+            placeholder='${this.localize(\"ui.card.shopping-list.add_item\")}'\r\n+            @keydown=${this._addKeyPress}\r\n+            no-label-float\r\n+          ></paper-input>\r\n+          <paper-icon-button\r\n+            slot=\"item-icon\"\r\n+            icon=\"hass:plus\"\r\n+            @click=${this._addItem}\r\n+          ></paper-icon-button>\r\n+          <paper-icon-button\r\n+            slot=\"item-icon\"\r\n+            icon=\"hass:notification-clear-all\"\r\n+            @click=${this._clearItems}\r\n+          ></paper-icon-button>\r\n+        </div>\r\n+\r\n+      ${repeat(\r\n+        this._items!,\r\n+        (item) => html`\r\n+        <div class=\"editRow\">\r\n+          <paper-checkbox\r\n+            slot=\"item-icon\"\r\n+            ?checked=${item.complete}\r\n+            .itemId=${item.id}\r\n+            @click=${this._completeItem}\r\n+            tabindex='0'\r\n+          ></paper-checkbox>\r\n+          <paper-item-body>\r\n+            <paper-input\r\n+              no-label-float\r\n+              .value='${item.name}'\r\n+              .itemId=${item.id}\r\n+              @change=${this._saveEdit}\r\n+            ></paper-input>\r\n+          </paper-item-body>\r\n+        </div>\r\n+        `\r\n+      )}\r\n+      </ha-card>\r\n+    `;\r\n+  }\r\n+\r\n+  private renderStyle(): TemplateResult {\r\n+    return html`\r\n+      <style>\r\n+        .addRow, .editRow {\r\n+          display: flex;\r\n+          flex-direction: row;\r\n+        }\r\n+        .addRow {\r\n+          padding-left: 16px;\r\n+        }\r\n+        paper-icon-item {\r\n+          border-top: 1px solid var(--divider-color);\r\n+        }\r\n+        paper-icon-item:first-child {\r\n+          border-top: 0;\r\n+        }\r\n+        paper-checkbox {\r\n+          padding: 11px;\r\n+        }\r\n+        paper-input {\r\n+          --paper-input-container-underline: {\r\n+            display: none;\r\n+          }\r\n+          --paper-input-container-underline-focus: {\r\n+            display: none;\r\n+          }\r\n+          position: relative;\r\n+          top: 1px;\r\n+        }\r\n+      </style>\r\n+    `;\r\n+  }\r\n+\r\n+  private async _fetchData(): Promise<ShoppingListItem[]> {\r\n+    if (this.hass) {\r\n+      this._items = await fetchItems(this.hass);\r\n+      this._items.reverse();\r\n+    }\r\n+\r\n+    return this._items!;\r","path":"src/panels/lovelace/cards/hui-shopping-list-card.ts","position":177,"original_position":177,"commit_id":"8b2bee7cd65fc97dff9657da8272f93cd74311de","original_commit_id":"8b2bee7cd65fc97dff9657da8272f93cd74311de","user":{"login":"iantrich","id":1287159,"node_id":"MDQ6VXNlcjEyODcxNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1287159?v=4","gravatar_id":"","url":"https://api.github.com/users/iantrich","html_url":"https://github.com/iantrich","followers_url":"https://api.github.com/users/iantrich/followers","following_url":"https://api.github.com/users/iantrich/following{/other_user}","gists_url":"https://api.github.com/users/iantrich/gists{/gist_id}","starred_url":"https://api.github.com/users/iantrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iantrich/subscriptions","organizations_url":"https://api.github.com/users/iantrich/orgs","repos_url":"https://api.github.com/users/iantrich/repos","events_url":"https://api.github.com/users/iantrich/events{/privacy}","received_events_url":"https://api.github.com/users/iantrich/received_events","type":"User","site_admin":false},"body":"The return? TypeScript complained if I didn't return a Promise from the async function","created_at":"2018-10-29T04:03:12Z","updated_at":"2018-10-29T04:03:12Z","html_url":"https://github.com/home-assistant/home-assistant-polymer/pull/1821#discussion_r228793391","pull_request_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1821","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/comments/228793391"},"html":{"href":"https://github.com/home-assistant/home-assistant-polymer/pull/1821#discussion_r228793391"},"pull_request":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1821"}},"in_reply_to_id":228763979},"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1821","id":224518393,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0NTE4Mzkz","html_url":"https://github.com/home-assistant/home-assistant-polymer/pull/1821","diff_url":"https://github.com/home-assistant/home-assistant-polymer/pull/1821.diff","patch_url":"https://github.com/home-assistant/home-assistant-polymer/pull/1821.patch","issue_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/1821","number":1821,"state":"open","locked":false,"title":"WIP Shopping List Card","user":{"login":"iantrich","id":1287159,"node_id":"MDQ6VXNlcjEyODcxNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1287159?v=4","gravatar_id":"","url":"https://api.github.com/users/iantrich","html_url":"https://github.com/iantrich","followers_url":"https://api.github.com/users/iantrich/followers","following_url":"https://api.github.com/users/iantrich/following{/other_user}","gists_url":"https://api.github.com/users/iantrich/gists{/gist_id}","starred_url":"https://api.github.com/users/iantrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iantrich/subscriptions","organizations_url":"https://api.github.com/users/iantrich/orgs","repos_url":"https://api.github.com/users/iantrich/repos","events_url":"https://api.github.com/users/iantrich/events{/privacy}","received_events_url":"https://api.github.com/users/iantrich/received_events","type":"User","site_admin":false},"body":"There are two issues I'm still trying to work through:\r\n\r\n1. I'm using a mdi icon for the clear-all-notifications. I could not get a hass version to work.\r\n2. I've been unsuccessful in trying to use `localize` for the 'Add Item' text. There is already translations for this text, but perhaps I was not properly calling `localize`","created_at":"2018-10-21T04:58:17Z","updated_at":"2018-10-29T04:03:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71e91a380e47aa87e2c30c09af7dacca3a8dd014","assignee":{"login":"iantrich","id":1287159,"node_id":"MDQ6VXNlcjEyODcxNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1287159?v=4","gravatar_id":"","url":"https://api.github.com/users/iantrich","html_url":"https://github.com/iantrich","followers_url":"https://api.github.com/users/iantrich/followers","following_url":"https://api.github.com/users/iantrich/following{/other_user}","gists_url":"https://api.github.com/users/iantrich/gists{/gist_id}","starred_url":"https://api.github.com/users/iantrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iantrich/subscriptions","organizations_url":"https://api.github.com/users/iantrich/orgs","repos_url":"https://api.github.com/users/iantrich/repos","events_url":"https://api.github.com/users/iantrich/events{/privacy}","received_events_url":"https://api.github.com/users/iantrich/received_events","type":"User","site_admin":false},"assignees":[{"login":"iantrich","id":1287159,"node_id":"MDQ6VXNlcjEyODcxNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1287159?v=4","gravatar_id":"","url":"https://api.github.com/users/iantrich","html_url":"https://github.com/iantrich","followers_url":"https://api.github.com/users/iantrich/followers","following_url":"https://api.github.com/users/iantrich/following{/other_user}","gists_url":"https://api.github.com/users/iantrich/gists{/gist_id}","starred_url":"https://api.github.com/users/iantrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iantrich/subscriptions","organizations_url":"https://api.github.com/users/iantrich/orgs","repos_url":"https://api.github.com/users/iantrich/repos","events_url":"https://api.github.com/users/iantrich/events{/privacy}","received_events_url":"https://api.github.com/users/iantrich/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1102309184,"node_id":"MDU6TGFiZWwxMTAyMzA5MTg0","url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/labels/Documentation-Needed","name":"Documentation-Needed","color":"c90300","default":false},{"id":453896259,"node_id":"MDU6TGFiZWw0NTM4OTYyNTk=","url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/labels/Hacktoberfest","name":"Hacktoberfest","color":"fbca04","default":false},{"id":528252411,"node_id":"MDU6TGFiZWw1MjgyNTI0MTE=","url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/labels/cla-signed","name":"cla-signed","color":"008000","default":false},{"id":957118574,"node_id":"MDU6TGFiZWw5NTcxMTg1NzQ=","url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1821/commits","review_comments_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1821/comments","review_comment_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/1821/comments","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/statuses/8b2bee7cd65fc97dff9657da8272f93cd74311de","head":{"label":"iantrich:shopping-list-card","ref":"shopping-list-card","sha":"8b2bee7cd65fc97dff9657da8272f93cd74311de","user":{"login":"iantrich","id":1287159,"node_id":"MDQ6VXNlcjEyODcxNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1287159?v=4","gravatar_id":"","url":"https://api.github.com/users/iantrich","html_url":"https://github.com/iantrich","followers_url":"https://api.github.com/users/iantrich/followers","following_url":"https://api.github.com/users/iantrich/following{/other_user}","gists_url":"https://api.github.com/users/iantrich/gists{/gist_id}","starred_url":"https://api.github.com/users/iantrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iantrich/subscriptions","organizations_url":"https://api.github.com/users/iantrich/orgs","repos_url":"https://api.github.com/users/iantrich/repos","events_url":"https://api.github.com/users/iantrich/events{/privacy}","received_events_url":"https://api.github.com/users/iantrich/received_events","type":"User","site_admin":false},"repo":{"id":148849182,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg4NDkxODI=","name":"home-assistant-polymer","full_name":"iantrich/home-assistant-polymer","private":false,"owner":{"login":"iantrich","id":1287159,"node_id":"MDQ6VXNlcjEyODcxNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1287159?v=4","gravatar_id":"","url":"https://api.github.com/users/iantrich","html_url":"https://github.com/iantrich","followers_url":"https://api.github.com/users/iantrich/followers","following_url":"https://api.github.com/users/iantrich/following{/other_user}","gists_url":"https://api.github.com/users/iantrich/gists{/gist_id}","starred_url":"https://api.github.com/users/iantrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iantrich/subscriptions","organizations_url":"https://api.github.com/users/iantrich/orgs","repos_url":"https://api.github.com/users/iantrich/repos","events_url":"https://api.github.com/users/iantrich/events{/privacy}","received_events_url":"https://api.github.com/users/iantrich/received_events","type":"User","site_admin":false},"html_url":"https://github.com/iantrich/home-assistant-polymer","description":":lollipop: Polymer frontend for Home Assistant","fork":true,"url":"https://api.github.com/repos/iantrich/home-assistant-polymer","forks_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/forks","keys_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/teams","hooks_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/hooks","issue_events_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/issues/events{/number}","events_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/events","assignees_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/assignees{/user}","branches_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/branches{/branch}","tags_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/tags","blobs_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/git/refs{/sha}","trees_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/statuses/{sha}","languages_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/languages","stargazers_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/stargazers","contributors_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/contributors","subscribers_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/subscribers","subscription_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/subscription","commits_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/commits{/sha}","git_commits_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/git/commits{/sha}","comments_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/comments{/number}","issue_comment_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/issues/comments{/number}","contents_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/contents/{+path}","compare_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/merges","archive_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/downloads","issues_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/issues{/number}","pulls_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/pulls{/number}","milestones_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/milestones{/number}","notifications_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/labels{/name}","releases_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/releases{/id}","deployments_url":"https://api.github.com/repos/iantrich/home-assistant-polymer/deployments","created_at":"2018-09-14T22:51:35Z","updated_at":"2018-10-26T21:55:10Z","pushed_at":"2018-10-28T19:40:41Z","git_url":"git://github.com/iantrich/home-assistant-polymer.git","ssh_url":"git@github.com:iantrich/home-assistant-polymer.git","clone_url":"https://github.com/iantrich/home-assistant-polymer.git","svn_url":"https://github.com/iantrich/home-assistant-polymer","homepage":"https://home-assistant-lovelace-gallery.netlify.com/","size":11208,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"home-assistant:dev","ref":"dev","sha":"13c5724d7c7a9dc3aefbf5055e9ae447c4833368","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":38982731,"node_id":"MDEwOlJlcG9zaXRvcnkzODk4MjczMQ==","name":"home-assistant-polymer","full_name":"home-assistant/home-assistant-polymer","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-polymer","description":":lollipop: Polymer frontend for Home Assistant","fork":false,"url":"https://api.github.com/repos/home-assistant/home-assistant-polymer","forks_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/forks","keys_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/teams","hooks_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/hooks","issue_events_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/events{/number}","events_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/events","assignees_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/assignees{/user}","branches_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/branches{/branch}","tags_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/tags","blobs_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/git/refs{/sha}","trees_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/statuses/{sha}","languages_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/languages","stargazers_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/stargazers","contributors_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/contributors","subscribers_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/subscribers","subscription_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/subscription","commits_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/commits{/sha}","git_commits_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/git/commits{/sha}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/comments{/number}","issue_comment_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/comments{/number}","contents_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/contents/{+path}","compare_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/merges","archive_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/downloads","issues_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues{/number}","pulls_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls{/number}","milestones_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/milestones{/number}","notifications_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/labels{/name}","releases_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/releases{/id}","deployments_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/deployments","created_at":"2015-07-12T23:58:06Z","updated_at":"2018-10-29T01:38:00Z","pushed_at":"2018-10-29T03:51:26Z","git_url":"git://github.com/home-assistant/home-assistant-polymer.git","ssh_url":"git@github.com:home-assistant/home-assistant-polymer.git","clone_url":"https://github.com/home-assistant/home-assistant-polymer.git","svn_url":"https://github.com/home-assistant/home-assistant-polymer","homepage":"https://home-assistant-lovelace-gallery.netlify.com/","size":11175,"stargazers_count":324,"watchers_count":324,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":417,"mirror_url":null,"archived":false,"open_issues_count":79,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":417,"open_issues":79,"watchers":324,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1821"},"html":{"href":"https://github.com/home-assistant/home-assistant-polymer/pull/1821"},"issue":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/1821"},"comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/1821/comments"},"review_comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1821/comments"},"review_comment":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1821/commits"},"statuses":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/statuses/8b2bee7cd65fc97dff9657da8272f93cd74311de"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"iantrich"}}