{"action":"created","comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/comments/230591249","pull_request_review_id":171365108,"id":230591249,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDU5MTI0OQ==","diff_hunk":"@@ -0,0 +1,100 @@\n+import { html, LitElement, PropertyDeclarations } from \"@polymer/lit-element\";\n+import \"@polymer/paper-checkbox/paper-checkbox.js\";\n+\n+import processConfigEntities from \"../common/process-config-entities\";\n+import { hassLocalizeLitMixin } from \"../../../mixins/lit-localize-mixin\";\n+import { HomeAssistant } from \"../../../types.js\";\n+import { LovelaceCardEditor } from \"../types.js\";\n+import { fireEvent } from \"../../../common/dom/fire_event.js\";\n+import { Config, EntityConfig } from \"../cards/hui-glance-card\";\n+\n+import \"../../../components/entity/state-badge.js\";\n+import \"../../../components/entity/ha-entity-picker\";\n+import \"../../../components/ha-card.js\";\n+import \"../../../components/ha-icon.js\";\n+import { TemplateResult } from \"lit-html\";","path":"src/panels/lovelace/editor/hui-glance-card-editor.ts","position":15,"original_position":15,"commit_id":"ed88dd3b7f442c705fa9933111f38312baa181bc","original_commit_id":"ed88dd3b7f442c705fa9933111f38312baa181bc","user":{"login":"zsarnett","id":18730868,"node_id":"MDQ6VXNlcjE4NzMwODY4","avatar_url":"https://avatars1.githubusercontent.com/u/18730868?v=4","gravatar_id":"","url":"https://api.github.com/users/zsarnett","html_url":"https://github.com/zsarnett","followers_url":"https://api.github.com/users/zsarnett/followers","following_url":"https://api.github.com/users/zsarnett/following{/other_user}","gists_url":"https://api.github.com/users/zsarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/zsarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsarnett/subscriptions","organizations_url":"https://api.github.com/users/zsarnett/orgs","repos_url":"https://api.github.com/users/zsarnett/repos","events_url":"https://api.github.com/users/zsarnett/events{/privacy}","received_events_url":"https://api.github.com/users/zsarnett/received_events","type":"User","site_admin":false},"body":"REMEMBER TO GO BACK AND CHECK ZACK, Idiot","created_at":"2018-11-04T14:37:28Z","updated_at":"2018-11-04T14:37:28Z","html_url":"https://github.com/home-assistant/home-assistant-polymer/pull/1944#discussion_r230591249","pull_request_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1944","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/comments/230591249"},"html":{"href":"https://github.com/home-assistant/home-assistant-polymer/pull/1944#discussion_r230591249"},"pull_request":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1944"}},"in_reply_to_id":230587494},"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1944","id":227701957,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NzAxOTU3","html_url":"https://github.com/home-assistant/home-assistant-polymer/pull/1944","diff_url":"https://github.com/home-assistant/home-assistant-polymer/pull/1944.diff","patch_url":"https://github.com/home-assistant/home-assistant-polymer/pull/1944.patch","issue_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/1944","number":1944,"state":"open","locked":false,"title":"WIP: Add getElementConfig to Glance + Add Form UI for updating YAML","user":{"login":"zsarnett","id":18730868,"node_id":"MDQ6VXNlcjE4NzMwODY4","avatar_url":"https://avatars1.githubusercontent.com/u/18730868?v=4","gravatar_id":"","url":"https://api.github.com/users/zsarnett","html_url":"https://github.com/zsarnett","followers_url":"https://api.github.com/users/zsarnett/followers","following_url":"https://api.github.com/users/zsarnett/following{/other_user}","gists_url":"https://api.github.com/users/zsarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/zsarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsarnett/subscriptions","organizations_url":"https://api.github.com/users/zsarnett/orgs","repos_url":"https://api.github.com/users/zsarnett/repos","events_url":"https://api.github.com/users/zsarnett/events{/privacy}","received_events_url":"https://api.github.com/users/zsarnett/received_events","type":"User","site_admin":false},"body":"This is a work in progress and my next step is creating Entity Element. That shows a List Box of entities, Delete Entity button, show options button that then gives options for entities (icon, name, etc)\r\n\r\nCreating the PR now so that the implementation can be critiqued. I am going to work on the different Elements for now. Just want to know if I am going about this the correct way. \r\n\r\n- [ ] Add Entity Config Element\r\n    - [ ] Create List box of entities\r\n    - [ ] Add Ability to delete entity\r\n    - [ ] Add Show options toggle\r\n- [ ] Add Theme Config Element\r\n- [x] When Form UI is changed, Update Preview and Config\r\n\r\n![Working Example](https://i.gyazo.com/1e8481eebb3fd4a1d11a4beb33edc444.gif)\r\n\r\nFixes #1951 \r\nFixes #1952 \r\nFixes #1953 ","created_at":"2018-11-01T17:45:34Z","updated_at":"2018-11-04T14:37:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e53ebe02b9fed37550342a1ad2a4b79a067f1f20","assignee":{"login":"zsarnett","id":18730868,"node_id":"MDQ6VXNlcjE4NzMwODY4","avatar_url":"https://avatars1.githubusercontent.com/u/18730868?v=4","gravatar_id":"","url":"https://api.github.com/users/zsarnett","html_url":"https://github.com/zsarnett","followers_url":"https://api.github.com/users/zsarnett/followers","following_url":"https://api.github.com/users/zsarnett/following{/other_user}","gists_url":"https://api.github.com/users/zsarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/zsarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsarnett/subscriptions","organizations_url":"https://api.github.com/users/zsarnett/orgs","repos_url":"https://api.github.com/users/zsarnett/repos","events_url":"https://api.github.com/users/zsarnett/events{/privacy}","received_events_url":"https://api.github.com/users/zsarnett/received_events","type":"User","site_admin":false},"assignees":[{"login":"zsarnett","id":18730868,"node_id":"MDQ6VXNlcjE4NzMwODY4","avatar_url":"https://avatars1.githubusercontent.com/u/18730868?v=4","gravatar_id":"","url":"https://api.github.com/users/zsarnett","html_url":"https://github.com/zsarnett","followers_url":"https://api.github.com/users/zsarnett/followers","following_url":"https://api.github.com/users/zsarnett/following{/other_user}","gists_url":"https://api.github.com/users/zsarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/zsarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsarnett/subscriptions","organizations_url":"https://api.github.com/users/zsarnett/orgs","repos_url":"https://api.github.com/users/zsarnett/repos","events_url":"https://api.github.com/users/zsarnett/events{/privacy}","received_events_url":"https://api.github.com/users/zsarnett/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"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/1944/commits","review_comments_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1944/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/1944/comments","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/statuses/ed88dd3b7f442c705fa9933111f38312baa181bc","head":{"label":"home-assistant:config-element-glance","ref":"config-element-glance","sha":"ed88dd3b7f442c705fa9933111f38312baa181bc","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-11-04T11:24:37Z","pushed_at":"2018-11-04T09:01:37Z","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":11573,"stargazers_count":330,"watchers_count":330,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":422,"mirror_url":null,"archived":false,"open_issues_count":82,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":422,"open_issues":82,"watchers":330,"default_branch":"dev"}},"base":{"label":"home-assistant:dev","ref":"dev","sha":"bcbf0ba75afc26fa257310ebc2de519e4bf5efcb","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-11-04T11:24:37Z","pushed_at":"2018-11-04T09:01:37Z","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":11573,"stargazers_count":330,"watchers_count":330,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":422,"mirror_url":null,"archived":false,"open_issues_count":82,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":422,"open_issues":82,"watchers":330,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1944"},"html":{"href":"https://github.com/home-assistant/home-assistant-polymer/pull/1944"},"issue":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/1944"},"comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/1944/comments"},"review_comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1944/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/1944/commits"},"statuses":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/statuses/ed88dd3b7f442c705fa9933111f38312baa181bc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zsarnett"}}