Getting the same error every ~100ms on 2024.2.1 and cannot locate cause

I’m not sure I understand, sorry :slight_smile: . As far as I know I’m just using the built-in google calendar integration.

I have 7 automations that use the calendar triggers. I think they are all quite normal, based on the example in the docs. They all get the data from a single calendar ‘house_events’.

4 out of the 7 have a single condition like this:

  trigger:
    - platform: calendar
      event: start
      entity_id: calendar.house_events
  condition:
    - condition: template
      value_template: "{{ 'Z-wave front door lock battery refresh' in trigger.calendar_event.summary }}"

2 out of the 7 have a double condition like this:

  trigger:
    - platform: calendar
      event: start
      entity_id: calendar.house_events
  condition:
    condition: and
    conditions: 
      - condition: template
        value_template: "{{ 'Activate morning scene' in trigger.calendar_event.summary }}"
      - condition: state
        entity_id: person.tim
        state: 'home'

1 has a triple condition like this:

  trigger:
    - platform: calendar
      event: start
      entity_id: calendar.house_events
  condition:
    condition: and
    conditions: 
      - condition: template
        value_template: "{{ 'Morning News Briefing' in trigger.calendar_event.message }}"
      - condition: state
        entity_id: person.tim
        state: 'home'
      - condition: state
        entity_id: media_player.tim_echo_dot
        state: 'standby'

Edit: I just noticed that last one is using trigger.calendar_event.message instead of trigger.calendar_event.summary! That field may well be empty on that calendar item. I’ve edited my yaml, will see if that fixes my error.

Sorry for the delay, school holidays here so my house is full of kids :crazy_face:

Changing the (sometimes empty) trigger.calendar_event.message to trigger.calendar_event.summary appears to have solved my problem. Cheers!