From f05cf07c83f558f9ebc5f7067cb322343d9b5cb4 Mon Sep 17 00:00:00 2001 From: kyle Date: Wed, 31 Dec 2025 04:26:59 -0800 Subject: [PATCH] Add setup-rss-fox-news.yaml --- setup-rss-fox-news.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 setup-rss-fox-news.yaml diff --git a/setup-rss-fox-news.yaml b/setup-rss-fox-news.yaml new file mode 100644 index 0000000..e11beae --- /dev/null +++ b/setup-rss-fox-news.yaml @@ -0,0 +1,30 @@ +# Add this to your configuration.yaml or create a new file in config/packages/ + +# RSS Feed Template for Fox News +template: + - sensor: + - name: "Fox News Breaking" + state: "{{ states('sensor.fox_news_rss') }}" + attributes: + articles: "{{ state_attr('sensor.fox_news_rss', 'articles') }}" + last_updated: "{{ now() }}" + +# RSS Feed Platform (requires feedparser or rss_feed_template) +# Option 1: Using feedparser (install via HACS) +rss_feed_template: + fox_news_breaking: + url: "https://feeds.foxnews.com/foxnews/latest" + scan_interval: 300 # 5 minutes + date_format: "%Y-%m-%d %H:%M:%S" + +# Option 2: Using built-in feedparser (if available) +# feedparser: +# fox_news: +# url: "https://feeds.foxnews.com/foxnews/latest" +# scan_interval: 300 + +# Alternative Fox News RSS feeds: +# - https://feeds.foxnews.com/foxnews/most-popular +# - https://feeds.foxnews.com/foxnews/politics +# - https://feeds.foxnews.com/foxnews/world +# - https://feeds.foxnews.com/foxnews/business