Notification Garbage Calendar Day before doesn't work

Hello, everyone. I would like to set up a notification for my garbage calendar. The message is to be sent around 9 p.m. the evening before. The garbage calendar has saved the appointments as appointments for a whole day. However, the message is not sent as shown below. Can someone help me? Greetings Andreas

alias: Hinweis_restmuell
description: ''
trigger:
  - platform: calendar
    event: start
    offset: '-4:0:0'
    entity_id: calendar.privat_restmuell
condition: []
action:
  - service: notify.mobile_app_andreas
    data:
      message: >-
        Morgen ist Restmüllabholung.{{"\n"}}Bitte daran denken, die Tonne
        rauszustellen!
      title: Müllkalender
 mode: single

That seems reasonable – does anything show up in the automation traces?

I was going to also point you at the documentation in
Calendar - Home Assistant but what you have doesn’t seem off.

At 0:08 a.m. the message appears that residual waste is now active. But the script is supposed to send a message x hours before the start of the event. This is also stated in the documentation: Automation Trigger Variables - Home Assistant

Trace is empty.

Unfortunately there is no notification

My guess is you’re missing the 's around your message or your calendar entity isn’t right. And are you really sure your calendar entry is really an all day event as the holiday below?

Below was a was a quick test and was sent correctly at 23:00.

alias: Calendar Test
description: ''
trigger:
  - platform: calendar
    event: start
    offset: '-25:0:0'
    entity_id: calendar.feiertage_in_deutschland
condition: []
action:
  - service: notify.mobile_app_MY_PHONE
    data:
      message: 'Übermorgen ist ein Feiertag '
mode: single

P.S.: If you want to be reminded at 21:00 your have to set -3h. :wink:

The entity_id: calendar.privat_restmuell is correct and the entry in the iCloud Calendar is an ‘all day event’.

Like I said you’re missing the quotes around your message.

When is Restmüll due? Today on friday? You have to tinker around in Developer Tools with the calendar entity state so you don’t have to have an offset of a week to test.

You see my example that worked flawlessly.

The fact that your trace is empty can have two reasons:

  • your automation never triggered
  • you rebooted HA after last trigger

PS: I use this platform: