I have a similar usecase to @albertojbs , where I am using the alert platform to send to multiple destinations (email, a few telegram accounts) etc., depending on the alert priority and type. Is there a way to do this with the blueprint?
something equivalent to
notifiers:
- telegram_1
- telegram_2
- email_3
some other blueprint or workaround? my driver for this: telegram no longer works with the alert: platform.
I ended up writing a push notification script for different groups of users that takes parameters/input and handles telegram and email the way I wanted.
Below is a sample use case. I used claude to convert between my old alert platform syntax and the use of this blueprint.
- alias: "Alert - Garage Door Open"
use_blueprint:
path: MakingNate/alert.yaml
input:
alert_entity: cover.garage_door
alert_state: "open"
idle_state: "closed"
initial_delay:
minutes: 30 # the next line makes the app send a push notification
notification_device: !secret main_notification_device_id
notification_title: "[HA] Garage Door alert" #
notification_message: "The Garage Door is still open"
notification_unique_id: "garage_door_alert"
repeat_delay:
hours: 0
minutes: 30
seconds: 0
snooze_duration:
hours: 24
minutes: 0
seconds: 0
send_idle_notification: false
alert_actions:
- service: script.send_push_notification
data:
title: "[HA] Garage Door alert"
message: "The Garage Door is still open"
send_telegram: "true"
send_email: "true"
idle_actions:
- service: script.send_push_notification
data:
title: "[HA] Garage Door alert"
message: "The Garage Door is now closed"
send_telegram: "true"
send_email: "true"
dismiss_actions:
- service: script.send_push_notification
data:
title: "[HA] Garage Door alert"
message: "The Garage Door alert was dismissed"
send_telegram: "true"
send_email: "true"