Firstly welcome to the community
It is a bit tricky⊠push lightly and hold the notification (donât tap) and the buttons appear⊠down side you get one shot that is just HA.
Blacky
Firstly welcome to the community
It is a bit tricky⊠push lightly and hold the notification (donât tap) and the buttons appear⊠down side you get one shot that is just HA.
Blacky
Perfect thank you and that works a treat!
Iâm a remote worker, and have my work calendar syncâd to HA. I want an alert (Iâll be using TTS) 2 minutes before every work meeting. And I want two conditions in the BP: A) Iâm home B) Between certain hours. And I canât modify the meeting details to include a keyword, or any symbols like # or @.
This is pretty easy to do in an automation. Use a calendar entity as the trigger and then set your desired offset.
New Feature
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
Hi Blacky,
Thatâs great, but if use key word, automation not working. Is ended in first three steps.
The notification also waits until I open the app on my phone.
Thatâs why I use this code in my notification automations:
data:
ttl: 0
priority: high
Then the notification will appear immediately. How can I add it here?
Thanks
That is strange as it is working perfectly here. What is the 3rd step, is it when you have to make a decision on a action button? It will stop there an wait for you.
This is your phone / HA app setting. If you set it up correctly it will come through.
Blacky
I create event with Test name. The automation code:
alias: Test kalendĂĄĆ
description: ""
use_blueprint:
path: Blackshome/calendar-notifications-and-actions.yaml
input:
calendar: calendar.tomas
calendar_trigger: "@Test"
start_notify_device:
- 7ae6e56f635c16314b1da300e61024ec
include_start_action_buttons:
- enable_start_action_button_1
start_action_button_1: OK
start_action_button_stop: OK
include_start_notify: enable_start_notify_options
include_end_notify: enable_end_notify_options
end_notify_device:
- 7ae6e56f635c16314b1da300e61024ec
include_calendar_trigger: enable_key_word
Believe me, no settings in my mobile solved the problem. If it was possible, I wouldnât solve it any other way.
Thanks for any advice.
Thanks for providing your YAML and your trace line. I can see the problem you have is within your keyword. Please check your keyword and note the capital âTâ in Test. You keyword must be identical copy paste if you have to. If you havenât added your keyword to the calendar event then you will need to add it into the summary or description. Also note if using the same button name âOKâ you will probably find that only one buttons shows up so make sure your button names are not the same.
Let us know how you go.
Blacky
Thanks for Your quick reply. While creating event are two items. Summary and description. I test keyword in summary or both. The words were always identical. I tried different variants, but it works only without keyword. Now i tried new event with word Ahoj.
alias: Test kalendĂĄĆ
description: ""
use_blueprint:
path: Blackshome/calendar-notifications-and-actions.yaml
input:
calendar: calendar.tomas
calendar_trigger: "@Ahoj"
start_notify_device:
- 7ae6e56f635c16314b1da300e61024ec
include_start_action_buttons: []
include_start_notify: enable_start_notify_options
include_end_notify: enable_end_notify_options
end_notify_device:
- 7ae6e56f635c16314b1da300e61024ec
include_calendar_trigger: enable_key_word
You missed the @ symbol add this to your decription @Ahoj ⊠It is like a password that links your calendar event to the automation. I call it key word.
Let us know how you go.
Blacky
Thanks. Now it working. But originaly i tried complet without @ (in calendar and automation) and it didnât work. Is @ required?
No, you can use any word but it is a good idea to use a word that your not ever going to be used to describe something in a normal sentence, so adding @ or # or $ etc into a key word is a good way of doing this
Glad you got it up and going.
Blacky
Iâm sure I missed it, but are there any options for custom notifiers? I use a script to handle all notifications.
Great project by the way, Thank You.
Yep, just use the start or end auto action options. You have 3 of each you can use. Then in your action select call service / scripts: Turn on and select your script.
@samuelthng has a realy nice blueprint for a script notification with a lot of options. He is very active and supports his blueprint to date. Click Here if you would like to check it out.
Hope this helps you.
Blacky
Thank you for taking my suggestions to heart! You are an amazing BP author! Donated!
Fantastic Reply (âPictures are my favoriteâ) ! Thank You.