I’ve got birthdays set up in my Google Calendar and I want to to trigger an automation 7 days prior to send me a Telegram message.
Can’t get this to work for 7 days (168hrs) but it does work for just a few - probably up to 24 but not over.
alias: Birthdays
description: ""
triggers:
- event: start
offset: "-168:0:0"
entity_id: calendar.myCalendar...
trigger: calendar
conditions:
- condition: template
value_template: "{{ 'Birthday' in trigger.calendar_event.summary }}"
actions:
- action: notify.telegram_notifier
metadata: {}
data:
title: Birthday Alert
message: |-
Summary - {{trigger.calendar_event.summary}}
Description - {{trigger.calendar_event.description}}
Time - {{trigger.calendar_event.start}}
mode: parallel
It’s just not triggering. Any ideas?
Edit: Sorry guys, it seems to be working OK now! I created multiple triggers looking 1, 2, 3, 4, 5, 6 and 7 days ahead. I then created dummy Birthdays in my Google calendar for each day out to 7, and they all triggered fine. I think I just needed to allow it several minutes to sync the calendars.