Hi everyone!
I want to trigger an automation based on calendar events. The events can be single-day- or multi-day-events and had a specific summary. So the automation should run if:
- the event starts today or before
- and the event ends today or after
- and the event summary is a specific word or words (e. g. “Urlaub” or “Mobiles Arbeiten”)
Unfortunately I have no idea how to filter the events I get for the calendar.get_events action in my automation. Because I don’t know when a event starts or ends, I try to get all events from the calendar by using as start_date_time “1900-01-01 00:00:00” and as end_date_time “2100-12-31 23:59:59”. But I get always just one event and I don’t know why.
I hope anybody can help me!