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
Copy file name to clipboardExpand all lines: source/_components/feedreader.markdown
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ feedreader:
22
22
urls:
23
23
- https://home-assistant.io/atom.xml
24
24
- https://github.com/blog.atom
25
+
- https://hasspodcast.io/feed/podcast
25
26
```
26
27
27
28
Configuration variables:
@@ -48,13 +49,17 @@ automation:
48
49
platform: event
49
50
event_type: feedreader
50
51
action:
51
-
service: notify.notify
52
-
data_template: "{{ trigger.event.data.title }}"
52
+
service: persistent_notification.create
53
+
data_template:
54
+
title: "New HA Podcast available"
55
+
message: "New Podcast available - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}"
56
+
notification_id: "{{ trigger.event.data.title }}"
53
57
```
54
58
55
59
*Any field under the `<entry>` tag in the feed can be used for example `trigger.event.data.content` will get the body of the feed entry.
56
60
57
61
For more advanced use cases, a custom component registering to the `feedreader` event type could be used instead:
62
+
For a drop in packaged complete example of Feedreader, you can use the [PodCast notifier](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/packages/hasspodcast.yaml).
0 commit comments