I'm new to HA so probably missing something obvious. My automation is simple: It should trigger when outside temp < inside temp and send a notification. I'm using a Number State trigger. It should have ran 20 minutes ago but it didn't and I don't understand why not.
I've done the following to investigate the issue:
- Reviewed the automation settings (3 times) to try and spot any issues
- Checked state on the Ecolink - sensor.ecolink_air_temperature reports 85.5
- Checked state on the outside temperature module - sensor.outside_temp_and_humidity_air_temperature reports 85.3
I'd appreciate any tips on where to go from here to try and debug this. Below is the YAML for the trigger, if that is helpful:
entity_id:
- sensor.ecolink_air_temperature
for:
hours: 0
minutes: 5
seconds: 0
above: sensor.outside_temp_and_humidity_air_temperature
alias: Outside is cooler than inside```
And here is the full automation YAML:
```alias: Outside cooled off notification (test)
description: ""
triggers:
- trigger: numeric_state
entity_id:
- sensor.ecolink_air_temperature
for:
hours: 0
minutes: 5
seconds: 0
above: sensor.outside_temp_and_humidity_air_temperature
alias: Outside is cooler than inside
conditions:
- condition: numeric_state
entity_id: sensor.ecolink_air_temperature
above: 72
alias: Inside temp > 72
actions:
- action: notify.mobile_app_sugar3
metadata: {}
data:
message: >-
Outside {{ states('sensor.outside_temp_and_humidity_air_temperature') }}
is cooler than inside {{ states('sensor.ecolink_air_temperature') }} -
turn on fan!
title: Turn on the fan
mode: single```