I have a few automations for door sensor that send a notification working, but I am having a bear of a time getting an automation to work with Limych/ha-average sensor (averages 3 temperature sensors).
My current automation:
alias: Average Temperature - Temperature Notification
description: >-
An alert sent to iPhone when the average temperature is above
78°F.
trigger:
- platform: numeric_state
entity_id: sensor.average_temerature_sensor
for:
hours: 0
minutes: 5
seconds: 0
above: 78
condition: []
action:
- service: persistent_notification.create
data:
title: _ Temperature
message: >-
The average temperature is
{{sensor.average_temerature_sensor}}°F.
- service: notify.mobile_app_iphone
data:
title: _ Temperature
message: >-
The average temperature is
{{sensor.average_temerature_sensor}}°F.
mode: single
I have checked under developer/state the sensor and it is working (screenshot). Any direction is greatly appreciated.