I am trying to use the Alert integration to get notifications. I cannot get any type of notification to fire from the Alert I have created.
Note - anywhere [email protected]
or example_tofof_exa
appears I’ve sterilized the actual email. Since the automation works correctly and manually triggered notifications using the developer tools work correctly I’m confident the unsterilized versions are working correctly.
- Manually triggering a notification using the dev tools - persistent, direct email using example_tofof_exa, and grouped email using furnace_email - all work as expected.
- Sending email using the example_tofof_exa service within an automation works as expected.
- The binary sensor used in the alert changes to ‘problem’ as expected.
- The alert changes then changes to ‘on’ as expected, but no notifications appear.
I want to use the Alert integration since that’s what it’s explicitly for, not an automation - in particular, I want to be able to trigger multiple notifiers and to re-send the automation every x minutes, both of which are easily supported by Alert.
I have tried many variations and no matter what I do I can’t get Alert to trigger any sort of notification.
Here is the relevant yaml:
notify:
- platform: group
name: furnace_email
services:
- service: example_tofof_exa
data:
target: [email protected]
title: Change Furnace Filter
alert:
change_filter_alert:
name: "Furnace Filter Expired"
entity_id: binary_sensor.furnace_pressure_drop_is_high
state: "on"
repeat: 1
skip_first: false
can_acknowledge: false
message: "Pressure drop across the furnace filter is {{ states('sensor.furnace_pressure') }}."
notifiers:
- furnace_email
- example_tofof_exa
- persistent_notification
I have an automation that sends an email when the alert changes to on that is working:
alias: send email alert
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.furnace_pressure_drop_is_high
to: "on"
condition: []
action:
- service: notify.example_tofof_exa
metadata: {}
data:
message: >-
Pressure drop across the furnace filter is {{ states('sensor.furnace_pressure')
}}.
title: Change Furnace Filter
target: [email protected]
mode: single