First add the feed you want using the UI
and enter your feed URL
to be sure to only get the latest news item configure the integration
and set to 1 entry
now you want to set up some text helpers to hold the data
ENSURE THEY ARE SET TO A MAX LENGTH OF 255
you should make one for:
RSS Title
RSS Description
RSS Link
RSS Date
now we need to fill these with data from the integration when new news arrives by triggering on the event
example automation:
alias: RSS Feed Reader
description: ""
triggers:
- trigger: event
event_type: feedreader
event_data:
feed_url: https://newsletter.openhomefoundation.org/rss/
conditions: []
actions:
- action: input_text.set_value
metadata: {}
data:
value: " {{ trigger.event.data.title }} "
target:
entity_id: input_text.rss_title
- action: input_text.set_value
metadata: {}
data:
value: " {{ trigger.event.data.description }} "
target:
entity_id: input_text.rss_description
- action: input_text.set_value
metadata: {}
data:
value: " {{ trigger.event.data.link }} "
target:
entity_id: input_text.rss_link
- action: input_text.set_value
metadata: {}
data:
value: " {{ trigger.event.data.published }} "
target:
entity_id: input_text.rss_date
mode: single
you should change the URL to match your feeds URL and update the helper entities as needed to point to where you want the data.
now you can create a markdown card on your dashbaord to display the information from the feed
example card:
type: markdown
content: |-
## {{states('input_text.rss_title')}}
### {{states('input_text.rss_description')}}
{{states('input_text.rss_link')}}
{{states('input_text.rss_date')}}
title: Latest From The Open Home Foundation
should look like this:
if it is currently showing no data you can either wait for the next RSS announce or you can reload the integration to force it to grab the most recent news item









@wormuths
yeah input text is limited to 255 so stripping it down to that to prevent errors is a good idea
on the date point. I had a go at making it work and it was a bit of chaos as in RSS feeds it comes from in rfc-822 format which has some variations. I figured for simple example to display a date then just text would be easier.
I did get a semi working version but I had to strip the timezone out and could not figure a way to put it back in
this is where i got to playing in the template editor in the dev tools if you you want to play with it
my string manipulation is a bit of a mess but you can see what I am getting at and can refactor it if you like.
I don't really use the integration that much myself so need to dive in a bit.
there is also a parsed date object as part of the event so you could rebuild the format from that but I think that was missing the timezone section.
I am sure someone with more knowledge than me could make something better but perhaps adding to the integration itself might be a better option to be honest.