Calendar trigger not working (without offset)

Hi all,

I could use some help from this great community as I don’t understand what is happening with my automations that use calendar triggers.
I’ve installed HA 2023.6.3 in Docker on Raspberry PI 4 for a community / banquet hall (the word in Dutch is Parochiezaal). I already removed the offset generated by the UI automation editor as before, none of my automations were triggering. Now, some do, some not.

Below is the yaml of the automation.

alias: Open alle deuren bij start evenement in alle zalen
description: ""
trigger:
  - platform: calendar
    event: start
    entity_id: calendar.alle_zalen
condition: []
action:
  - service: lock.unlock
    data: {}
    target:
      entity_id:
        - lock.zekeringskast_de_cinema_deur
        - lock.zekeringskast_geuzezaal_deur
        - lock.zekeringskast_kriekzaal_deur
mode: single

I’m sure the calendar integration works, as the state changed in the logbook of the calendar and I triple checked the entity_id:

However, there are no traces for my automation and the last trigger was last week when I tested this locally (so not installed in the community hall):

Any idea what could be the cause?

Hmm, the trigger seems ok (assuming correct calendar), so you should have a trace. How is it defined in the calendar?

I can’t reproduce it but I see a difference.

Test Script:

alias: Kalender test
description: ""
trigger:
  - platform: calendar
    event: start
    offset: "0:0:0"
    entity_id: calendar.afspraken
condition: []
action:
  - service: notify.mobile_app_mobile
    data:
      title: 📅 Kalender
      data:
        ttl: 0
        priority: high
        sticky: "true"
      message: "{{ state_attr('calendar.afspraken', 'message') }}"
mode: queued
max: 10

Calendar item:

define the offset anyway

offset: “0:0:0”

Or maybe it has something to do with the mode.
I used queued.

The issue was solved by restarting home assistant. :thinking:

Thanks for your help!

Oké cool, try to take some basic steps next time before posting a topic :wink:

2 Likes