Quote of the Day card uses the Feed Parser Sensor to pull quotes from Brainyquotes.com RSS feed and display them on a nice card. Quotes are selected randomly.
- Feedparser v0.0.8 or later: Feedparser changes the way the data is stored from dictionary to list format. Quote of the Day card was updated in v0.0.4 to be compatible with this breaking change. Previous versions of Feedparser may work but are untested.
- Download the Feed Parser Sensor and use the following configuration:
sensor:
- platform: feedparser
name: Quote of the Day
feed_url: 'https://www.brainyquote.com/link/quotebr.rss'
date_format: '%a, %b %d %I:%M %p'
- Go to HACS settings and add the following custom repository (as plugin):
https://github.com/dnguyen800/quote-of-the-day-card
-
Download the Quote-Day-Card, bg.jpg and place the files in your
config/www
folder. -
Add the following to the resources section of your ui-lovelace.yaml
resources:
- url: /local/quote-of-the-day-card.js
type: js
- Write configuration for the card in your
ui-lovelace.yaml
.
- type: custom:quote-of-the-day-card
entity: sensor.quote_of_the_day
feed_attribute: entries # Required if using FeedParser v0.0.8 or later
- Restart Home Assistant
Name | Type | Default | Description |
---|---|---|---|
entity | string | Required | Name of the Feed Parser sensor that contains the Quote of the Day data. |
feed_attribute | string | Required | If using Feedparser v0.0.8 or later, use feed_attribute: entries . If using an earlier Feedparser version, do not add this config. |
image | string | /local/bg.jpg | If the background image is stored in a location other than /www/bg.jpg, you can input a different location here. Example: '/local/bg.jpg' |
- Background image by Yannick Pulver via Unsplash
- Feed Parser Sensor - @iantrich For doing the hard work.
- All the Home Assistant custom components and cards out there. I learned from your examples.