{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1836","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1836/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1836/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1836/events","html_url":"https://github.com/home-assistant/home-assistant/pull/1836","id":148854119,"number":1836,"title":"Add feedreader component","user":{"login":"shaftoe","id":281389,"avatar_url":"https://avatars.githubusercontent.com/u/281389?v=3","gravatar_id":"","url":"https://api.github.com/users/shaftoe","html_url":"https://github.com/shaftoe","followers_url":"https://api.github.com/users/shaftoe/followers","following_url":"https://api.github.com/users/shaftoe/following{/other_user}","gists_url":"https://api.github.com/users/shaftoe/gists{/gist_id}","starred_url":"https://api.github.com/users/shaftoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaftoe/subscriptions","organizations_url":"https://api.github.com/users/shaftoe/orgs","repos_url":"https://api.github.com/users/shaftoe/repos","events_url":"https://api.github.com/users/shaftoe/events{/privacy}","received_events_url":"https://api.github.com/users/shaftoe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-16T13:47:18Z","updated_at":"2016-04-24T19:46:27Z","closed_at":"2016-04-19T15:14:36Z","pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant/pulls/1836","html_url":"https://github.com/home-assistant/home-assistant/pull/1836","diff_url":"https://github.com/home-assistant/home-assistant/pull/1836.diff","patch_url":"https://github.com/home-assistant/home-assistant/pull/1836.patch"},"body":"**Description:**\r\nAdd an RSS/Atom feed reader that polls feeds every hour and sends new entries into the event bus\r\n\r\n**Example entry for `configuration.yaml` (if applicable):**\r\n```yaml\r\nfeedreader:\r\n  urls:\r\n  - https://github.com/blog.atom\r\n  - [...]\r\n```\r\n\r\n**Checklist:**\r\n\r\nIf code communicates with devices:\r\n  - [x] Local tests with `tox` run successfully. **Your PR cannot be merged unless tests pass**\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 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"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/214027783","html_url":"https://github.com/home-assistant/home-assistant/pull/1836#issuecomment-214027783","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1836","id":214027783,"user":{"login":"shaftoe","id":281389,"avatar_url":"https://avatars.githubusercontent.com/u/281389?v=3","gravatar_id":"","url":"https://api.github.com/users/shaftoe","html_url":"https://github.com/shaftoe","followers_url":"https://api.github.com/users/shaftoe/followers","following_url":"https://api.github.com/users/shaftoe/following{/other_user}","gists_url":"https://api.github.com/users/shaftoe/gists{/gist_id}","starred_url":"https://api.github.com/users/shaftoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaftoe/subscriptions","organizations_url":"https://api.github.com/users/shaftoe/orgs","repos_url":"https://api.github.com/users/shaftoe/repos","events_url":"https://api.github.com/users/shaftoe/events{/privacy}","received_events_url":"https://api.github.com/users/shaftoe/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T19:46:27Z","updated_at":"2016-04-24T19:46:27Z","body":"Hi @rofrantz ,\r\nfor now I think the only way is to write your own component, so to be able to subscribe to the event bus and retrive metadata from the events.\r\nAfaik there's yet no way to define an automation task that can make use of event properties, what you can do for now is to have feedreader events as general triggers for automation, something like this:\r\n```\r\nautomation:\r\n  - alias: Trigger action when new element(s) in RSS feed\r\n    trigger:\r\n      platform: event\r\n      event_type: feedreader\r\n    action:\r\n      service: script.turn_on\r\n      entity_id: script.my_action\r\n\r\n```\r\n\r\nHTH"}}