#You have to use the list events service
1 messages · Page 1 of 1 (latest)
i am trying this based on https://www.home-assistant.io/docs/automation/templating/#calendar:
description: ""
mode: single
trigger:
- platform: calendar
event: start
offset: "-0:30:0"
entity_id: calendar.nielsnl68_gmail_com
calendar_event:
all_day: false
condition: []
action:
- service: notify.group_of_speakers
data:
message: er is een afspraak over 30 minuten.
alias: "Notification: afspraak melden"
and i does not like the calendar_event:
How would i set that it only use normal appointments?
it's a calendar service, use the service caller to find the name of the service
it's not a trigger
i.e. it's only useable in your action section
sorry, i don't understand you perfectly.
Maybe i was not clear; the above is for an automation.
I'm working on two sides atm.
The above automation notifies you 30 minutes before the next event
if you want a list of events like you asked, you have to use the list_events service call
which is an action and can only be placed in action sections
i believe the service call is calendar.list_events
that is what it should do, but while it not show any all day events?