Wouldnโt it be great if your Home Assistant dashboard could show the latest news from your favorite websites? With the Feedreader integration and a trigger-based template sensor, you can create a clean, automatically updating news overviewโfully local and customizable.
In this tutorial, Iโll walk you through the complete setup.
โญโญโญ NOTE: โญโญโญ
This article belongs to a YouTube video. I wrote it before recording the video. You can help me continue doing this by checking out the video, commenting on it, giving it a thumbs up, andย subscribing to my YouTube channel. This will ensure that the video is offered more frequently to new visitors, allowing them to stay informed about the latest Home Assistant tutorials and smart home-related product reviews.
I appreciate your support!
Ed
Click here to watch the video
What Weโre Building
By the end of this guide, youโll have:
- A sensor that stores the latest RSS news items
- Titles and links stored as attributes
- A dashboard card that displays a list of recent articles
- Optional automation to refresh feeds more frequently
Step 1: Install the Feedreader Integration
- Go to Settings โ Devices & Services
- Click Add Integration
- Search for Feedreader
- Enter the RSS feed URL (for example, BBC News)
- Assign an area and finish setup
- Configure how many items should be fetched (example: 5)
Repeat this process for every RSS feed you want to follow.
Step 2: Install Studio Code Server
To edit YAML safely:
- Go to Settings โ Add-ons
- Open Add-on Store
- Install Studio Code Server
- Start the add-on and enable options if desired
Step 3: Enable Template Sensors
In configuration.yaml, add:
template: !include templates.yaml
Create a new file:
templates.yaml
Restart Home Assistant.
Step 4: Inspect RSS Feed Events
To understand which fields you can use:
- Go to Developer Tools โ Events
- Listen to
feedreaderevents - Reload your RSS feed integration
- Inspect returned data such as:
data.titledata.link
This helps verify your feed works and prevents debugging headaches later.
Step 5: Create the Trigger-Based Template Sensor
The template:
- Triggers when Feedreader publishes a new item
- Stores titles and links in attributes
- Prevents duplicate entries
- Limits the list to the latest five items
Titles and links are stored in attributes, not the state, because attributes can hold much more data.
Step 6: Build the Dashboard Card
- Edit a dashboard
- Add a Markdown card
- Loop through titles and links using Jinja
- Display:
- Article title
- Clickable link
- Last refresh timestamp
This produces a clean, readable news overview.
Bonus: Force RSS Refresh with an Automation
You can optionally create an automation that:
- Triggers every 15 minutes
- Reloads selected Feedreader integrations
โ ๏ธ Be careful not to poll feeds too frequently, as some providers may block excessive requests.
Final Thoughts
This setup is perfect for:
- Wall dashboards
- Desk displays
- Daily information panels
Itโs flexible, fully local, and works with any RSS feed that the Feedreader integration supports.
If this tutorial saved you time or frustration, consider sponsoring the channel. These guides take many hours to produce.
โญโญโญ
- Join this channel to get access to perks: ๐บ https://www.youtube.com/c/smarthomejunkie/join
- Please consider becoming my patron ๐ at https://www.patreon.com/join/smarthomejunkie
- Or please support me by buying me a โ at https://ko-fi.com/smarthomejunkie/
- Or sponsor me through PayPal at https://paypal.me/smarthomejunkie
โญโญโญ
