šŸ“† Calendar Notifications & Actions

Thank you for your hard work. using the battery notification and it works a breeze.

donā€™t know what it is but this racks my brain.
i just want to be notified monthly to give the dog heart worms. at 6pm i want to send out a tts as a reminder. this -8 -9 is confusing the heck out of me. of all the automations i have set upā€¦calender seems to be the most annoying. so if iā€™m correct if i create a start time at 18 it will notify me at 6pm? i only want one tts notify so would i put that on the start or end or just end lol.

1 Like

@RogerB1

Sorry I missed this one :pensive:

If you set a calendar event to repeat monthly at 6pm, you can simply use the start time without any offsets, and youā€™re all set.

Now, let me explain how offsets work:

For example, if your calendar event runs from 6pm (Start) to 9pm (End):

  • A start offset of -1 will trigger the event at 5pm.
  • A start offset of +1 will trigger it at 7pm.
  • An end offset of -1 will trigger at 8pm.
  • An end offset of +1 will trigger at 10pm.

You can choose to apply an offset to either the start or the end of the event.

For an all-day event, which technically runs from 12am to 12am (a 24-hour period), the offsets work similarly. For example, if the all-day event is on a Monday:

  • A start offset of -8 means the event will trigger at 4pm on Sunday (12am - 8 hours).
  • A start offset of +8 means the event will trigger at 8am on Monday (12am + 8 hours).
  • An end offset of -9 will trigger at 3pm on Monday (12am - 9 hours).
  • An end offset of +9 will trigger at 9am on Tuesday (12am + 9 hours).

Whatever you choose, you can opt to use the start time, the end time, or both, depending on what youā€™re trying to accomplish.

Blacky :smiley:

Hi there, I was about to import the blueprint into my HA but getting the error:

Invalid blueprint: extra keys not allowed @ data[ā€˜blueprintā€™][ā€˜inputā€™][ā€˜end_action_settingsā€™][ā€˜collapsedā€™]. Got True extra keys not allowed @ data[ā€˜blueprintā€™][ā€˜inputā€™][ā€˜end_action_settingsā€™][ā€˜iconā€™]. Got ā€˜mdi:gesture-double-tapā€™ extra keys not allowed @ data[ā€˜blueprintā€™][ā€˜inputā€™][ā€˜end_action_settingsā€™][ā€˜inputā€™]. Got {ā€˜include_end_action_buttonsā€™: {ā€˜nameā€™: ā€˜End Notify - Action Buttons Options (Optional)ā€™, ā€˜descriptionā€™: "Enable the action buttons you would like to use. These buttons will be shown in the notification, allowing you to perform actions when clicked.\n\nNOTE - You do not need to select any notification action buttons to execute an end action. If you prefer to run an end action without using any action buttons, simply enable any ā€˜End Auto Actionā€™ located in the ā€˜End Actionsā€™ section below..ā€¦ extra keys not allowed @ data[ā€˜blueprintā€™][ā€˜inputā€™][ā€˜end_auto_action_settingsā€™][ā€˜collapsedā€™]. Got True extra keys not allowed @ data[ā€˜blueprintā€™][ā€˜inputā€™][ā€˜end_auto_action_settingsā€™][ā€˜iconā€™]. Got ā€˜mdi:code-tagsā€™ extra keys not allowed @ data[ā€˜blueprintā€™][ā€˜inputā€™][ā€˜end_auto_action_settingsā€™][ā€˜inputā€™]. Got {ā€˜include_end_auto_actionsā€™: {ā€˜nameā€™: ā€˜Use The End Auto Action Options (Optional)ā€™, ā€˜descriptionā€™: 'Enabling the auto option will allow the ā€œEnd Actionsā€ below to run when the calendar event is triggered.\n\nWhen using action buttons in a notification, it is not necessary to enable an auto action for the end actions to work, as the action button pressed in a notification will run the selected action. However, if you miss the notification and don't press an action button, and after the time dā€¦ extra keys not allowed @ data[ā€˜blueprintā€™][ā€˜inputā€™][ā€˜end_notify_settingsā€™][ā€˜collapsedā€™].

Any ideas what to do to import it?
I was also trying to do it manually by importing the file via File Editor into HA, but the same result

Regards
Maciej

@gomez99

:warning:You must be on Home Assistant Version 2024.6 or later.

Please update your HA if you can.

Blacky :smiley:

Hi,

Would it be possible to update the trigger section to allow multiple triggers? I would like to get a notification of a calendar event 24h and 2h before it starts.

I rather not create multiple automations for this.

@RutgerP

Welcome to the community.

I can see that it would be some value. I will put it on the list of suggestions. For now you have 2 triggers. One at the start and one at the end. If you use the offsets you can achieve what you are after.

Say you have a calendar event at 3pm to 4 pm. The start offset would be -24 and the end offset would be -3.

Blacky :smiley:

Thank!

Iā€™m using the 24h and 2h for all events in the calendar so I canā€™t really work with the end offset as every event can have different hours.

Iā€™ll keep it seperated for now until an update arrives.

1 Like

We love your blueprint! Use it almost daily.

I have a request.

We work different schedules most days, Brenda somedays is up at 4AM while I sleep in to 6AM. Then the next day she may get up at 5AM and I am up at 4AM, and so it goes. Almost every week is a slightly different schedule beginning at 4AM to 6AM. I use your blueprint to make things happen, lights on, coffee started, etc. I have two automations, one for Brenda and one for me. Currently I must go into the automation and change the offset time for each or our days. (One problem is that she will only add an event as an all day event, saying it is too much trouble to set the timeā€¦ My cross to bear.) I know I can add a start time to the calendar event to make it work but would have to do this every day a change is made. We use all day events so they display differently from appointments. I have tried to do this but several times have screwed something up and it did not work correctlyā€¦

I have modified our coffee pot with a Shelly 1 so it can use HA automations instead of the pots timer function. I use the time picker card as a trigger in an automation to set our coffee pot on time for days we do not work - works great. Simple dashboard card to change. And as a bonus, Brenda knows how and will change it on her own!

I wish your blueprint had the option of using the time picker card (or something like that) as an input for the calendar offset time.

Thanks again for all your work on this, I just updated to 1.7 and am even more impressed!

@jbrandon

Hi Jim, have you considered using the :round_pushpin: State Notifications & Actions blueprint?

This way you can use a state (time) to trigger the automation. Then it will work more like an alarm and run your actions.

Blacky :smiley: