I have set up an alert that uses an SMTP notifier but I am failing at specifying the subject using the additional parameters example from the alert integration page.
Here is what I currently have, but when the email comes in the subject is just “Home Assistant” is it possible to specify the subject used for an email alert?
I don’t want to specify the title in the notifier configuration as I would like to use the SMTP notifier for multiple alerts with different subjects
edit: I see now that on the SMTP integration the title is specified in the Automation not the notifier itself, but I would rather use Alert for this than an automation as it seems to be the exact use case for the Alert integration.
alert:
grinder_pump_light:
name: Grinder Pump light is on
done_message: Grinder Pump light is off
entity_id: binary_sensor.homeseer_grinder_pump_light
state: 'on'
repeat:
- 5
- 30
- 60
can_acknowledge: true
skip_first: true
data:
title:
- 'Grinder Pump Alert!'
notifiers:
- Gmail
edit 2: I’ve added a pushover notifier with a priority in the data field, the priority operates correctly on the notification but again the title is still not changed on the pushover notification, it’s still just “Home Assistant”. Is title not recognized in the additional data field for alerts?
alert:
grinder_pump_light:
name: Grinder Pump light is on
done_message: Grinder Pump light is off
entity_id: binary_sensor.homeseer_grinder_pump_light
state: 'on'
repeat:
- 5
- 30
- 60
can_acknowledge: true
skip_first: true
data:
title: 'Grinder Pump Alert!'
priority: 1
notifiers:
- Gmail
- Pushover