Hi
Greetings flo,
Please read the FAQ before posting. This is an English only forum.
Veuillez lire la FAQ avant de poster. Ce forum est uniquement en anglais.
Hi
Greetings flo,
Please read the FAQ before posting. This is an English only forum.
Veuillez lire la FAQ avant de poster. Ce forum est uniquement en anglais.
I use it to call everyone when it is dinner time to, it was the main reason I developed this blueprint and I love it too. Tip: Make sure you set this time restriction so when you accidentally press it to call everyone at 1am in the morning you donât wake everyone up
In order to receive an alert from the remote control, Home Assistant (HA) must be able to detect when the remote is pressed. This event then acts as the trigger for an automation, which can send you an alert or notification using the blueprint.
In French
Je lâutilise pour appeler tout le monde Ă lâheure du dĂźner, câest la principale raison pour laquelle jâai dĂ©veloppĂ© ce plan et je lâaime aussi. Astuce : assurez-vous de dĂ©finir cette limite de temps afin que lorsque vous appuyez accidentellement dessus pour appeler tout le monde Ă 1 heure du matin, vous ne rĂ©veilliez pas tout le monde
Afin de recevoir une alerte de la tĂ©lĂ©commande, Home Assistant (HA) doit ĂȘtre capable de dĂ©tecter le moment oĂč la tĂ©lĂ©commande est enfoncĂ©e. Cet Ă©vĂ©nement agit ensuite comme dĂ©clencheur dâune automatisation, qui peut vous envoyer une alerte ou une notification Ă lâaide du plan.
Blacky
Thank you for the Information!
To which one? Maybe I could use the other blueprint in the meantime.
{{ states[trigger.entity_id].attributes.friendly_name }}
if i use this code a cant get notificationsâŠ
Do i need to change it according names of entity_id?
I added it to the below blueprint but it is different than this one. It will be added but I am really busy at the moment. In about a week work will calm down again and I will get back to normal.
Appliance Notifications & Actions - Washing Machine - Clothes Dryer - Dish Washer - ETC
Blacky
Welcome to the community.
No it should work. 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.
Blacky
Dear Craig
thanks for warm welcome.
alias: Water leak
description: ""
use_blueprint:
path: Blackshome/notifications-and-announcements.yaml
input:
trigger_state_entity:
- binary_sensor.water_leak_vanna_water_leak
- binary_sensor.water_leak_kuhnea_water_leak
notify_device:
- b7e71979213cdfef9124f541a103fdbc
include_notify: enable_mobile_app_notify
notify_title: đą Water leak detected
notify_message: Shut off taps urgentlyđ
notify_data:
- high_priority
- sticky
global_conditions: []
include_persistent_notification: enable_persistent_notification
persistent_message: Shut off the taps urgentlyđ
persistent_title: đą Water leak detected
i want to receive notifications with trigger.entity_id.
also i get problem if Z2m restarts or reconnect to waterleak detectors i receive notifications so i cant use them to prevent waterleaks due to false positives.
If i install water switch-off valve when reconnecting z2m i will get false positives
Thanks for your YAML. I have fixed it for you as there were some this wrong. Below is your code, copy and paste it replacing all the YAML.
What I changed.
alias: Water leak
description: ""
use_blueprint:
path: Blackshome/notifications-and-announcements.yaml
input:
trigger_state_entity:
- binary_sensor.water_leak_vanna_water_leak
- binary_sensor.water_leak_kuhnea_water_leak
notify_device:
- b7e71979213cdfef9124f541a103fdbc
include_notify: enable_mobile_app_notify
notify_title: đą Water leak detected
notify_message: >-
Shut off {{ states[trigger.entity_id].attributes.friendly_name }} taps
urgentlyđ
notify_data:
- high_priority
- sticky
global_conditions: []
include_persistent_notification: enable_persistent_notification
persistent_message: >-
Shut off the {{ states[trigger.entity_id].attributes.friendly_name }} taps
urgentlyđ
persistent_title: đą Water leak detected
trigger_state: "on"
time_delay_state:
hours: 0
minutes: 0
seconds: 2
Hope this helps.
Blacky
Dear Blacky
Huge thanks for your kindness and detailed explanations.
Will you plan to add telegram notifications?
Maybe I add a custom notification so you can add anything you like. I will put it on the list, thanks for your suggestion.
Blacky
Is it possible to display the actual value of the entity that triggered the notification?
Thanks in advance
Yep by using trigger.to_state.state, see the code below and enter it in your message input.
{{ states[trigger.entity_id].attributes.friendly_name }} triggered with a value of {{ trigger.to_state.state }}
Blacky
Anyway to notify a notification group?
Hi Blacky. This is the Blueprint I was looking for. Your Blueprints are incredible. I use most of them with no issues. Are you able to change the default IOS notification sound with this alert? I donât see where or how to do that.
Thanks for the heads up as I havenât added it to this blueprint yet. I will update it now⊠once updated you will have the option to change the sound for IOS.
Blacky
Followed your instructions on how to import the custom WAV file and it worked like a charm. This Blueprint can be used in so many ways. I would think it would be in everyoneâs wheelhouse. Thanks again for your time and efforts!
State your trigger and spread the word
New Feature For iOS
For more information on using sounds in the Home Assistant app, click here.
Maintenance
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
Works Great!!!
THANKS!!!
@Blacky can you add the ability to show the date and time in the Alert message?
ie The door was opened at {date} {time}
would be nice to know the exact time of the alert happened.