Automation based on calendar event title

[quote=“reylinux, post:20, topic:756731”]
Do I just have to change the Event to Event end and put 3 hh Before from the visual editor?
[/quote]

The issue with that is going to be that the summary attribute of the calendar will reflect the active event, so it might not pass the condition as it is currently set up…

Before moving ahead, can you clarify the behavior you are looking for?

I don’t know what I was thinking :man_facepalming:



Thanks for the reply. So previously it turned on the boolean alright and turned off after 16 hours with the previous codes.

Would the below change solve the issue? For this case I want the boolean to turn off 12 hours before the event end on the 22th.

triggers:
  - id: "on"
    event: start
    offset: "-6:0:0"
    entity_id: calendar.christina
    trigger: calendar
  - id: "off"
    event: end
    offset: "-12:0:0"
    entity_id: calendar.christina
    trigger: calendar
conditions:
  - condition: template
    value_template: |
      {{ trigger.calendar_event.summary is search('Auckland') }}
actions:
  - data: {}
    action: input_boolean.turn_{{ trigger.id }}
    target:
      entity_id: input_boolean.christina_auckland
mode: parallel

Yes, that should work.

Thanks again mate. Really appreciate it!