Thinking about this more, my feature request would be a way to trigger all events except for keywords - blacklist exclusion list to prevent overlap. This would allow a default automation offset, but a more specific one when keywords are added?
If I enter a condition into “Global condition” if the condition pass when the start action starts but the condition don’t pass when the end action is to be executed – will the end action then be executed or not?
Thanks in advance!
Yes. The start and end are two separate triggers.
When either trigger fires, the automation evaluates the conditions. What happens next depends entirely on how you write those conditions, you can allow the action to run or stop it if needed.
Example (simple and easy to understand condition)
When the start trigger runs:
- Turn ON a toggle helper (it can be anything, I just using toggle helper as an example)
That toggle helper is then used by the end trigger:
- If the toggle helper is ON, turn it OFF
The trigger IDs are already set:
- Start trigger:
t0 - End trigger:
t1
Your condition logic would look like this conceptually:
- If trigger is
t0and your chosen conditions are met > allow actions - Else if trigger is
t1and the toggle helper is ON > allow actions - Else > stop (or do nothing)
This approach gives you full control over when the automation starts, ends, or is ignored.
Blacky ![]()
Hello,
Calendar Sart - Offset of -30 with a minus (-) does not work
Maybe I am mistaken but when I put “-1” in any of the offset fields it highlights red to suggest needs to be greater than 0 is that a bug or not?
Yes it does as I use it every week for my rubbish bins. Remember if you change the calendar event then you must wait 15 min for Home Assistant to register it. If you set it now for 31min time in advance and you set -30 then try to test it, then it will not work. You have to set it for 46min (30 + 15 + 1 to be safe = 46) and then set -30. Sit and wait. Hope that makes sense.
TIP: If you set a all day calendar event then wait 15 min for it to register in Home Assistant you then can keep changing the offset in the blueprint for testing every min if you like. It is the calendar event that takes 15 min to register in Home Assistant not the blueprint offsets.
Blacky ![]()
Welcome to the community.
That is all perfectly fine. Once you save it and then go back into the automation it will be black.
Blacky ![]()
Indeed, I didn’t understand everything. It works perfectly, thank you very much
@Blacky when i have no description in the calender i get this errors, can you check this?
all works fine, but i hate no needed logs ![]()
Logger: homeassistant.helpers.template
Quelle: helpers/template/__init__.py:1750
Erstmals aufgetreten: 06:45:00 (3 Vorkommnisse)
Zuletzt protokolliert: 07:59:50
Template variable warning: 'dict object' has no attribute 'description' when rendering '{{ trigger.calendar_event.description }}'
Template variable error: 'dict object' has no attribute 'calendar_event' when rendering '{{ trigger.calendar_event.summary }}'
Logger: homeassistant.components.automation.homeoffice_wakeonlan
Quelle: components/automation/__init__.py:724
Integration: Automation (Dokumentation, Probleme)
Erstmals aufgetreten: 07:59:50 (1 Vorkommnis)
Zuletzt protokolliert: 07:59:50
Error rendering variables: UndefinedError: 'dict object' has no attribute 'calendar_event'
Atributt Output
calendar.feiertage:
events: []
calendar.xxxxxx_googlemail_com:
events:
- start: "2025-12-24T06:45:00+01:00"
end: "2025-12-24T16:30:00+01:00"
summary: 💻 HomeOffice
My Autoamtion
alias: "WakeOnLan: HomeOffice"
description: ""
use_blueprint:
path: Blackshome/calendar-notifications-and-actions.yaml
input:
calendar: calendar.xxxxx_googlemail_com
calendar_trigger: HomeOffice
start_notify_device: []
include_start_notify: disable_start_notify_options
include_start_auto_actions:
- enable_start_action_1
start_action_1:
- action: button.press
metadata: {}
data: {}
target:
entity_id: button.wake_on_lan_tower
Looks like the same as here 📆 Calendar Notifications & Actions - #400 by Blacky
Thanks for the info. It all works well with the HA calendar (no error logs) and that is what I use but I can see your using google. I will update it to get rid of this error log… if you could test it and let me know if I fixed it.
New version will be out soon.
Blacky ![]()
Transform Your Calendar: Turn Events Into Notifications and Actions!
![]()
Maintenance
- Removed unnecessary warning messages when some calendar events don’t have a description (e.g., Google Calendar). Automation behavior remains unchanged.
If you like this blueprint? Consider hitting the
button in the top post ![]()
If you like my blueprints, and would like to show your support or just say thank you? Click Here ![]()
Enjoy
Blacky ![]()
Thanks Balcky i will test it
Edit: @Blacky Looks like the same
Logger: homeassistant.helpers.template
Quelle: helpers/template/__init__.py:1750
Erstmals aufgetreten: 16:30:00 (2 Vorkommnisse)
Zuletzt protokolliert: 16:30:00
Template variable warning: 'dict object' has no attribute 'description' when rendering '{{ trigger.calendar_event.description }}'
Okay thanks for testing it and letting us know, I will update it again but also include a bonus for the last blueprint update for 2025… if you could test it again and let me know if I fixed it.
New version will be out soon.
Blacky ![]()
Transform Your Calendar: Turn Events Into Notifications and Actions!
![]()
New Feature
- Exclude Keyword - All calendar events will trigger except those that contain the keyword(s).
Maintenance
- Try again: Removed unnecessary warning messages when some calendar events don’t have a description (e.g., Google Calendar). Automation behavior remains unchanged.
If you like this blueprint? Consider hitting the
button in the top post ![]()
If you like my blueprints, and would like to show your support or just say thank you? Click Here ![]()
Enjoy
Blacky ![]()
@Blacky Same Error with the new Version ![]()
![]()
Logger: homeassistant.helpers.template
Quelle: helpers/template/__init__.py:1750
Erstmals aufgetreten: 16:30:00 (2 Vorkommnisse)
Zuletzt protokolliert: 16:30:00
Template variable warning: 'dict object' has no attribute 'description' when rendering '{{ trigger.calendar_event.description }}'
I should of been fixed but I do see a spot that could be doing it. I will PM you to make sure we get it right and then once we get it I will update everyone back here.
Blacky ![]()
Am I in the right place ?
Newbie - sorry if this is already covered
So
Im using the mampfes/Waste Collection integration in HA
Integration is installed and appears to be notifying correctly.
The collection completes on Wednesday (date)
I want to set a notification to arrive on date -1 @1800 and to appear in ( my wife’s) iphone notification in Outlook. ( ok …. and mine as well I suppose).
If I get that to work …. Our council collect
Week 1 Refuse
Week 2. Paper and Recycling
Week 3. Repeat
I want to set the colour of the notification in the HA calendar. Refuse - purple, Paper - white Recycle - Green
At the moment it seems i can only label the event globally (purple)
… and if I get that working I should have learned enough about the code to let me trial and error some fancy whistles and bows
Thanks for any help - or pointers to existing yaml that I can copy
Dave
Yep, that is correct but I think you cant even change the colour.
I don’t think there is a question for the blueprint though.
Blacky ![]()
'd like to add some text to the message. For example, “24-hour calendar +” {{ trigger.calendar_event.summary }}. How do I enter this in Home Assistant?