The examples for Feedreader only give examples that are triggered by updates to any feed. I’d like to trigger a specific automation for a specific feed. Each feed can be uniquely identified by trigger.event.data.feed_url, but I can’t get a condition that will trigger for a specific feed.
- alias: Feed Trigger
trigger:
platform: event
event_type: feedreader
condition:
- condition: template
value_template: '{{ trigger.event.data.feed_url }} == "http://feeds.feedburner.com/example"'
action:
service: persistent_notification.create
data_template:
title: "{{ trigger.event.data.title }}"
message: "{{ trigger.event.data.author }}"
However, when the feed gets updated, the action is not getting triggered. I’ve also tried:
value_template: '{{ trigger.event.data.feed_url == "http://feeds.feedburner.com/example" }}'
with the same (lack of) results.
I must not be writing the value_template correctly.