{"action":"created","comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/comments/201269034","pull_request_review_id":135734933,"id":201269034,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTI2OTAzNA==","diff_hunk":"@@ -27,23 +23,25 @@ class HuiImage extends LocalizeMixin(PolymerElement) {\n         }\n         \n         .error {\n-          width: 100%;\n-          height: auto;\n           text-align: center;\n         }\n         \n+        .hidden {\n+          display: none;\n+        }\n+        \n+        #brokenImage {\n+          background: grey url('/static/images/broken_image.gif') center/30px no-repeat;","path":"src/panels/lovelace/components/hui-image.js","position":36,"original_position":36,"commit_id":"40bda93106f396aeac05b1b96ff600c2cc8deea4","original_commit_id":"40bda93106f396aeac05b1b96ff600c2cc8deea4","user":{"login":"balloob","id":1444314,"node_id":"MDQ6VXNlcjE0NDQzMTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1444314?v=4","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"body":"Don't include a 250px image if we are only rendering it at 30px. Resize it.","created_at":"2018-07-10T09:08:44Z","updated_at":"2018-07-10T09:08:44Z","html_url":"https://github.com/home-assistant/home-assistant-polymer/pull/1423#discussion_r201269034","pull_request_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1423","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/comments/201269034"},"html":{"href":"https://github.com/home-assistant/home-assistant-polymer/pull/1423#discussion_r201269034"},"pull_request":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1423"}}},"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1423","id":199948208,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTQ4MjA4","html_url":"https://github.com/home-assistant/home-assistant-polymer/pull/1423","diff_url":"https://github.com/home-assistant/home-assistant-polymer/pull/1423.diff","patch_url":"https://github.com/home-assistant/home-assistant-polymer/pull/1423.patch","issue_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/1423","number":1423,"state":"open","locked":false,"title":"Add configurable filter and state_filter to hui-image.","user":{"login":"jeradM","id":11150179,"node_id":"MDQ6VXNlcjExMTUwMTc5","avatar_url":"https://avatars3.githubusercontent.com/u/11150179?v=4","gravatar_id":"","url":"https://api.github.com/users/jeradM","html_url":"https://github.com/jeradM","followers_url":"https://api.github.com/users/jeradM/followers","following_url":"https://api.github.com/users/jeradM/following{/other_user}","gists_url":"https://api.github.com/users/jeradM/gists{/gist_id}","starred_url":"https://api.github.com/users/jeradM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeradM/subscriptions","organizations_url":"https://api.github.com/users/jeradM/orgs","repos_url":"https://api.github.com/users/jeradM/repos","events_url":"https://api.github.com/users/jeradM/events{/privacy}","received_events_url":"https://api.github.com/users/jeradM/received_events","type":"User","site_admin":false},"body":"Doesn't change any current cards, but will allow for more customization of images on picture-elements cards.\r\n\r\n```yaml\r\n- type: image\r\n  image: /local/living_room_light.png\r\n  entity: light.living_room\r\n  filter: brightness(80%)\r\n  state_filter:\r\n    'on': brightness(120%) saturate(1.5)\r\n  style: \r\n    ...\r\n```","created_at":"2018-07-08T15:49:57Z","updated_at":"2018-07-10T09:08:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34152a8c9a196e39306800d0a7838250aec2d066","assignee":{"login":"c727","id":11984118,"node_id":"MDQ6VXNlcjExOTg0MTE4","avatar_url":"https://avatars3.githubusercontent.com/u/11984118?v=4","gravatar_id":"","url":"https://api.github.com/users/c727","html_url":"https://github.com/c727","followers_url":"https://api.github.com/users/c727/followers","following_url":"https://api.github.com/users/c727/following{/other_user}","gists_url":"https://api.github.com/users/c727/gists{/gist_id}","starred_url":"https://api.github.com/users/c727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c727/subscriptions","organizations_url":"https://api.github.com/users/c727/orgs","repos_url":"https://api.github.com/users/c727/repos","events_url":"https://api.github.com/users/c727/events{/privacy}","received_events_url":"https://api.github.com/users/c727/received_events","type":"User","site_admin":false},"assignees":[{"login":"c727","id":11984118,"node_id":"MDQ6VXNlcjExOTg0MTE4","avatar_url":"https://avatars3.githubusercontent.com/u/11984118?v=4","gravatar_id":"","url":"https://api.github.com/users/c727","html_url":"https://github.com/c727","followers_url":"https://api.github.com/users/c727/followers","following_url":"https://api.github.com/users/c727/following{/other_user}","gists_url":"https://api.github.com/users/c727/gists{/gist_id}","starred_url":"https://api.github.com/users/c727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c727/subscriptions","organizations_url":"https://api.github.com/users/c727/orgs","repos_url":"https://api.github.com/users/c727/repos","events_url":"https://api.github.com/users/c727/events{/privacy}","received_events_url":"https://api.github.com/users/c727/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/1423/commits","review_comments_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1423/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/1423/comments","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/statuses/40bda93106f396aeac05b1b96ff600c2cc8deea4","head":{"label":"jeradM:image-state-filters","ref":"image-state-filters","sha":"40bda93106f396aeac05b1b96ff600c2cc8deea4","user":{"login":"jeradM","id":11150179,"node_id":"MDQ6VXNlcjExMTUwMTc5","avatar_url":"https://avatars3.githubusercontent.com/u/11150179?v=4","gravatar_id":"","url":"https://api.github.com/users/jeradM","html_url":"https://github.com/jeradM","followers_url":"https://api.github.com/users/jeradM/followers","following_url":"https://api.github.com/users/jeradM/following{/other_user}","gists_url":"https://api.github.com/users/jeradM/gists{/gist_id}","starred_url":"https://api.github.com/users/jeradM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeradM/subscriptions","organizations_url":"https://api.github.com/users/jeradM/orgs","repos_url":"https://api.github.com/users/jeradM/repos","events_url":"https://api.github.com/users/jeradM/events{/privacy}","received_events_url":"https://api.github.com/users/jeradM/received_events","type":"User","site_admin":false},"repo":{"id":120560130,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA1NjAxMzA=","name":"home-assistant-polymer","full_name":"jeradM/home-assistant-polymer","owner":{"login":"jeradM","id":11150179,"node_id":"MDQ6VXNlcjExMTUwMTc5","avatar_url":"https://avatars3.githubusercontent.com/u/11150179?v=4","gravatar_id":"","url":"https://api.github.com/users/jeradM","html_url":"https://github.com/jeradM","followers_url":"https://api.github.com/users/jeradM/followers","following_url":"https://api.github.com/users/jeradM/following{/other_user}","gists_url":"https://api.github.com/users/jeradM/gists{/gist_id}","starred_url":"https://api.github.com/users/jeradM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeradM/subscriptions","organizations_url":"https://api.github.com/users/jeradM/orgs","repos_url":"https://api.github.com/users/jeradM/repos","events_url":"https://api.github.com/users/jeradM/events{/privacy}","received_events_url":"https://api.github.com/users/jeradM/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeradM/home-assistant-polymer","description":":lollipop: Polymer frontend for Home Assistant","fork":true,"url":"https://api.github.com/repos/jeradM/home-assistant-polymer","forks_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/forks","keys_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/teams","hooks_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/hooks","issue_events_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/issues/events{/number}","events_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/events","assignees_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/assignees{/user}","branches_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/branches{/branch}","tags_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/tags","blobs_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/statuses/{sha}","languages_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/languages","stargazers_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/stargazers","contributors_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/contributors","subscribers_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/subscribers","subscription_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/subscription","commits_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/contents/{+path}","compare_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/merges","archive_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/downloads","issues_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/issues{/number}","pulls_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/pulls{/number}","milestones_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/milestones{/number}","notifications_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/labels{/name}","releases_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/releases{/id}","deployments_url":"https://api.github.com/repos/jeradM/home-assistant-polymer/deployments","created_at":"2018-02-07T03:53:54Z","updated_at":"2018-02-07T03:53:57Z","pushed_at":"2018-07-09T23:15:38Z","git_url":"git://github.com/jeradM/home-assistant-polymer.git","ssh_url":"git@github.com:jeradM/home-assistant-polymer.git","clone_url":"https://github.com/jeradM/home-assistant-polymer.git","svn_url":"https://github.com/jeradM/home-assistant-polymer","homepage":"https://home-assistant.io","size":7330,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"home-assistant:master","ref":"master","sha":"274f8e1b64e9238eef645a36d7462a0d22ec4176","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","owner":{"login":"home-assistant","id":13844975,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODQ0OTc1","avatar_url":"https://avatars3.githubusercontent.com/u/13844975?v=4","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/home-assistant/home-assistant-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-07-10T08:49:55Z","pushed_at":"2018-07-10T09:01:22Z","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.io","size":7330,"stargazers_count":281,"watchers_count":281,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":358,"mirror_url":null,"archived":false,"open_issues_count":62,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":358,"open_issues":62,"watchers":281,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1423"},"html":{"href":"https://github.com/home-assistant/home-assistant-polymer/pull/1423"},"issue":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/1423"},"comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/1423/comments"},"review_comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/1423/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/1423/commits"},"statuses":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/statuses/40bda93106f396aeac05b1b96ff600c2cc8deea4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"balloob"}}