I think I am understanding what you are trying to do is be notified when to change the temp. If this is correct what you could do is set a keyword for when you need to change the temp⌠say your keyword is #settemp, then in every calendar event you would like to be notified to change the temp use this keyword. Then in a calendar event have the summary say âSet The Temperature To 17â and/or âSet The Temperature To 19â. In your discription add your keyword #settemp. Then make sure you use {{ trigger.calendar_event.summary }} in your title of the message so it will use your summary you entered into your calendar event and you will know what temp to set
This way you will have one automation that will handle all your calendar events to set the temp but in the notification it will change and use the summary in your notification. You can also use action buttons so if sending it to multiple people when they change the temp they can notify everyone that it has been done. You can also use the âTime Delay Confirmation Messageâ to remind you again if no one uses the action button
Hope this make sense.
I do the same thing for reminding me to take out the rubbish and what bins I need to take out. I do have a FAQ on this that can provide more information on how to do this just rather than bins for you it is set temp and probably donât use the âOffsetâ.
If you get creative you could probably use the action buttons to change the temp. Use action 1 for 17 deg, action 2 for 19 deg.
Hey @Blacky thatâs a great blueprint. Thanks for your hard work.
As Iâm struggling a bit, I hope somebody can help me out setting it up.
What I try to achieve is to look in different calendars whether there is an event with âUrlaubâ as a trigger word in the event title and set an input_boolean to true if so. These events are all-day events normally. I donât need any notifications send - just set the boolean value.
I figured that I have to do multiple automations for each calendar, but none of my automations trigger.
Here is one example - they are all the same except of different calendars selected:
For a different scenario I let me send notifications. Those automations work without any problem, but - besides the setting of that switch I donât get whatâs really different here
Did some more testing. It seems it has something to do with all-day events. When I change the definition to start an event for example at 00:03 am it will trigger like it should.
You can use all day events with an offset as I use it here every week. I think the challenge that may catch you out is when testing.
Your calendar event must be set for at least 15 min before you can test it / trigger the automation. It is just the way HA works. I think it is to make HA preform better.
When you set your offsets for testing make sure your have a minus. This is for all the time. You are probably putting -3 hours and in your min your putting 34 or what ever. It must be -34. Donât ask me how I know this.
I just tested your YAML using auto action 1 as per your YAML. No notification your exact YAML but I changed the calendar, offset & input boolean. It worked⌠just make sure you have your offsets correct. Here is an example to follow when testing.
Set your test calendar event up for all day tomorrow. Wait 15 min.
After the 15 min say the time to trigger is 4:41 pm. The start offset will be -7 hours & -19 min. That is 4:41 + 19 = 5 + 7 = 12.
I completely set up the automation again from the start and activated notification to see if it works but still no luck. The automation doesnât run at all.
Hereâs what I did
I added an all-day event for tomorrow a few hours ago and it shows up in HA.
Then set up the automation using your blueprint with the following code. The offset was set so that the automation would run at 12:10 (so offset of -11:-50:00).
Just tested it again using this YAML and it works. I had some of the community have this problem and then they get it working and I never find out what the did. Everything that you are doing is perfect. This must be frustrating. Please be assured it is working here.
Lets check your time in HA. Go into developer tools > templates and paste this code into the editor. You time should be shown. Make sure it is correct.
Itâ still unclear to me, why your blueprint wonât work for this scenario, but for a different one with a different calendar where I let me notify when my trash has to be taken out.
First i give you my congratulations on your blueprint ! if this works for my case, it makes my life alot easier !
I have a store that is closed on holidays and, on special day, even if it is a holiday i have to be opened.
The blueprint will control several automation for the lights and digital signage, ive set this blueprint for holidays, turns out that it didnt trigger any of the automations am i doing something wrong ? (Set the calendar and âcall itâ calendar.duty and set the trigger word to @Holiday in the description for all of the holidays in this year manually).
Iâm trying to get alerted the night before for an all-day event. Is this correct, because it never triggered? The UI gives an error saying I canât have a negative number there.
Yes that is correct. With -6 it will send you a notification at 6pm the day before. It is strange that the UI gives you an error. I just tested a fresh automation and it worked for an all day event with a minus value. I also have an all day automation running every week for my bins and it always works.
Some things to be aware of.
When testing your calendar event must be saved for at least 15 min before HA will accept it. So if it is an all day event and the time now is 6pm and you just created the calendar event earliest time you can have it work in the automation is 6:15pm.
If you would like me to look at it could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on â</>â and paste code in there.
I just ran a test using your YAML replacing calendar with my one and my device. Work perfectly, got the message to my device. One thing to note and I am not sure if you wanted this part but you have not enabled your âStart Auto Actionâ for Alexa. See below.