Hi all,
I'm having issues with Calendar automation.
I want to hear the 30 min before the event, the summary (title) of the event.
It is somewhat working meaning, it says every time the title of the first event.
So at 11:30 I got the voice message: HA test 30 min vroeger.
At 11:32 I got the same message
At 12:00 I got only 1 message but again HA test 30 min vroeger. (I was expecting 2 voice messages)
In screenshot you can see the events planned
This is the code I have:
alias: Kalender
description: ""
triggers:
- trigger: calendar
entity_id: calendar.gezin
event: start
offset: "-0:30:0"
conditions: []
actions: - action: calendar.get_events
metadata: {}
data:
duration:
hours: 0
minutes: 5
seconds: 0
response_variable: agenda
target:
entity_id: calendar.gezin - action: tts.cloud_say
metadata: {}
data:
cache: false
entity_id: media_player.living
message: "{{ states.calendar.gezin.attributes.message}}"
mode: queued
Why is it always saying the title of the first event?