Calendar behavior

Hello, I want to use the HA calendar to start my lawnmower cutting job. May automation should begin at the start of the event. I’m a bit puzzled. When I’m on the automation config page, at the time of the event start, blue band with the message triggered is shortly displayed. Unfortunately no other actions follow that evaluate the rest of the automation, no trace, no logging, nothing. Try several option but without success. I’ve read here on the forum that schedule doesn’t start if it’s planned befor 15 min from the config of the event but I would like to ask confirmation about that or any other suggestion to solve.

Can you share your Automation code?

It doesnt’ work regardless of the automation but this is a not workig sample:

alias: _calendar_test
description: ""
triggers:
  - trigger: calendar
    entity_id: calendar.cal_lm
    event: start
    offset: "0:0:0"
conditions: []
actions:
  - action: media_player.play_media
    target:
      entity_id: media_player.mm_11
    data:
      media_content_id: media-source://media_source/media/doorbell.mp3
      media_content_type: audio/mpeg
    metadata:
      title: doorbell.mp3
      thumbnail: null
      media_class: music
      children_media_class: null
      navigateIds:
        - {}
        - media_content_type: app
          media_content_id: media-source://media_source
        - media_content_type: ""
          media_content_id: media-source://media_source/media/.
mode: single

Thank for the support

No need to rely on the forum for confirmation. The docs explicitly confirm this.

They also confirm that you should not use mode: single, in case you have multiple events at the same time. I suggest you use mode: parallel for all your calendar automations to avoid this scenario.

Thanks for the reply very useful. For the moment I’ve just a simple setup but good to know for the future.
My apologize, next time i’ll read the full doc before ask something here.

1 Like