I have been batting my head against the wall trying to simply send an email when the temperature on a sensor goes below a set value. The Automation below sends the email message fine, but the value of the entity is blank. The script must be manually entered in automations.yaml since the UI does not appear to support the entry of the ‘complex’ message. Any help is greatly appreciated.
Thanks, Ron
- id: '1654652521073'
alias: Greenhouse
description: ''
condition: []
trigger:
- platform: numeric_state
entity_id: sensor.zone1_moisture
below: 90
action:
- service: notify.greenhouse
data:
message: "Alarm status changed to {{ zone1_moisture }}"
mode: single