You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Open HACS Settings and add this repository (https://github.com/custom-components/feedparser/)
23
+
as a Custom Repository (use **Integration** as the category).
24
+
2. The `feedparser` page should automatically load (or find it in the HACS Store)
25
+
3. Click `Install`
26
+
27
+
Alternatively, click on the button below to add the repository:
28
+
29
+
[](https://my.home-assistant.io/redirect/hacs_repository/?category=Integration&repository=feedparser&owner=custom-components)
# Configuration of the second sensor tracking a different RSS feed
54
+
- platform: feedparser
55
+
name: Algemeen
56
+
feed_url: https://www.nu.nl/rss/Algemeen
57
+
local_time: true
58
+
show_topn: 1
39
59
```
40
60
61
+
If you wish the integration to look for enclosures in the feed entries, add `image` to `inclusions` list. Do not use `enclosure`.
62
+
The integration tries to get the link to an image for the given feed item and stores it under the attribute named `image`. If it fails to find it, it assigns the Home Assistant logo to it instead.
63
+
64
+
Note that the original `pubDate` field is available under `published` attribute for the given feed entry. Other date-type values that can be available are `updated`, `created` and `expired`. Please refer to [the documentation of the original feedparser](https://feedparser.readthedocs.io/en/latest/date-parsing.html) library.
65
+
41
66
**Configuration variables:**
42
67
43
68
key | description
@@ -65,6 +90,6 @@ Due to how `custom_components` are loaded, it is normal to see a `ModuleNotFound
0 commit comments