{"action":"opened","issue":{"url":"https://api.github.com/repos/ciotlosm/custom-lovelace/issues/3","repository_url":"https://api.github.com/repos/ciotlosm/custom-lovelace","labels_url":"https://api.github.com/repos/ciotlosm/custom-lovelace/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ciotlosm/custom-lovelace/issues/3/comments","events_url":"https://api.github.com/repos/ciotlosm/custom-lovelace/issues/3/events","html_url":"https://github.com/ciotlosm/custom-lovelace/issues/3","id":338824046,"node_id":"MDU6SXNzdWUzMzg4MjQwNDY=","number":3,"title":"FR: Option to filter on attributes.","user":{"login":"ludeeus","id":15093472,"node_id":"MDQ6VXNlcjE1MDkzNDcy","avatar_url":"https://avatars2.githubusercontent.com/u/15093472?v=4","gravatar_id":"","url":"https://api.github.com/users/ludeeus","html_url":"https://github.com/ludeeus","followers_url":"https://api.github.com/users/ludeeus/followers","following_url":"https://api.github.com/users/ludeeus/following{/other_user}","gists_url":"https://api.github.com/users/ludeeus/gists{/gist_id}","starred_url":"https://api.github.com/users/ludeeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludeeus/subscriptions","organizations_url":"https://api.github.com/users/ludeeus/orgs","repos_url":"https://api.github.com/users/ludeeus/repos","events_url":"https://api.github.com/users/ludeeus/events{/privacy}","received_events_url":"https://api.github.com/users/ludeeus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-06T06:46:23Z","updated_at":"2018-07-06T06:46:23Z","closed_at":null,"author_association":"NONE","body":"It would be great to ba able to filter entities based on attributes.\r\nSome usecases for it:\r\nI have a [custom_component to interact with ha-dockermon]()\r\nThis component and many others add attributes with info to make them differentiate from the others:\r\n![image](https://user-images.githubusercontent.com/15093472/42363431-f49cb966-80f7-11e8-9e6b-6920b8cae794.png)\r\nwith an attribute filter, users could easy filter on icon, component, version :)\r\n\r\nFor device_trackers there is a source attribute that would be good for filtering.\r\n\r\nidea for filtering:\r\n```yaml\r\n- type: custom:monster-card\r\n  card:\r\n    type: glance\r\n    title: Monster\r\n  filter:\r\n    include:\r\n      - attribute: source\r\n        state: gps\r\n```\r\n"}}
{"actor":{"display_login":"ludeeus"}}