I am trying to make a automation that wishes a person happy birthday on their mobile phone.
alias: Birthday Notification
description: Wish birthday to appropriate person.
triggers:
- entity_id: calendar.family
event: start
offset: "0:00:00"
trigger: calendar
- trigger: template
value_template: "{{ \"Foo\" in trigger.calendar_event.summary }}"
id: wish_foo
- trigger: template
value_template: "{{ \"Bar\" in trigger.calendar_event.summary }}"
id: wish_bar
- trigger: template
value_template: "{{ \"Baz\" in trigger.calendar_event.summary }}"
id: wish_baz
conditions: []
actions:
- choose:
- conditions:
- condition: trigger
id:
- wish_bar
sequence:
- action: notify.mobile_app_bar
metadata: {}
data:
message: Best wishes on your birthday!
title: Happy Birthday Bar! ๐๐
- conditions:
- condition: trigger
id:
- wish_foo
sequence:
- action: notify.mobile_app_foo
metadata: {}
data:
message: Best wishes on your birthday!
title: Happy Birthday Foo! ๐๐
- conditions:
- condition: trigger
id:
- wish_baz
sequence:
- action: notify.mobile_app_baz
metadata: {}
data:
message: Best wishes on your birthday!
title: Happy Birthday Baz! ๐๐
mode: single
this is what I have ATM, I tried creating test calendar event for foo bar and baz.. and the automation doesn't seem to trigger.. I tried setting up time 15-30+ minutes from current time so the 15 min delay between updates is not a issue.