hi,
im a noob and trying my first automation:
goal is to set a message based on the content of trigger.calendar_event.summary
I am trying to avoid using the integration (https://github.com/mampfes/hacs_waste_collection_schedule)
and to use only the calendar-integration and a automation to trigger calendar events.
here i stuck and it won’t work:
service: notify.persistent_notification
data:
message: >_
{% if 'Bioabfall - Am Hühnerstein' in trigger.calendar_event.summary %}
Biomüll
{% elif 'Altpapier - Am Hühnerstein' in trigger.calendar_event.summary %}
Altpapier
{% elif 'Gelbe Säcke - Am Hühnerstein' in trigger.calendar_event.summary %}
Gelber Sack
{% elif 'Restabfall - Am Hühnerstein' in trigger.calendar_event.summary %}
Restmüll
{% else %}
nix
{% endif %}
what am i doing wrong?