Newsreader Blueprint

I’m trying to get this to work, with no success, so I’m posting here. I’ve successfully added Feedreader - Home Assistant, but unable to get automated emails to notify me when a new post is posted on a website (e.g. “name of website.com/feed”) I’m wondering if anyone has a blueprint that can help do this for me. I just need to get an email notification with a link to the new post. Email is already set up within HA, it’s just trying to figure this last part out. Thanks.

It’s unclear what you mean by “this last part”.

What part of the automation is giving you trouble?


There are two ways to trigger an automation based on the Feedreader integration.

The more general option is to use an Event trigger:

alias: Notify - Persistent - Feedreader Event
description: ""
triggers:
  - event_type: feedreader
    trigger: event
conditions: []
actions:
  - action: persistent_notification.create
    metadata: {}
    data:
      message: "{{ trigger.event.data.link | default('No Link', 1) }}"
      title: "{{ trigger.event.data.title | default('No Title', 1) }}"
mode: single

The second is to use a State trigger based on the event entity that gets created for each Feedreader service:

alias: Notify - Persistent - Feedreader Entity
description: ""
triggers:
  - trigger: state
    entity_id:
      - event.npr_topics_news
conditions: []
actions:
  - action: persistent_notification.create
    metadata: {}
    data:
      message: "{{ trigger.to_state.attributes.link | default('No Link', 1) }}"
      title: "{{ trigger.to_state.attributes.title | default('No Title', 1) }}"
mode: single
1 Like

I’ve been trying to use AI to help me with the coding. Basically, I can see the feed updating, but I can’t get notifications (via email) when they update - the automation doesn’t trigger. Trying to see if someone out there has a template I can paste in?

The Feedreader integration is used by an extremely small number of total users, something like 0.03%. Combine that with the fact that it moved from YAML configuration to UI configuration less than a year ago, and there is very little current reference material for ant LLM to use.


Post the trigger you are using so we can see what is going on.

Please see my previous post for the only valid types of triggers for Feedreader-based automations.

I’ve got it working now, just trying to figure out how to not repeat the same notifications (blog posts.)