I have the below automation to let us know if the Hedge Hog’s temp gets to high or to low (we left the lamp off is usual issue). The trigger works fine when I have no condition, but I can’t seem to make it work with the condition. I eventually want to switch the trigger out to an every 5 min timer trigger to make sure we don’t forget to check on the temp, but with the condition so it doesn’t notify us unless it’s outside the range.
Any help will be greatly appreciated.
- id: '1586294679332'
alias: Sonic Temp Mon
description: ''
trigger:
- above: '83'
entity_id: sensor.sonoff_1000aedfc0_temperature
platform: numeric_state
- below: '80'
entity_id: sensor.sonoff_1000aedfc0_temperature
platform: numeric_state
condition:
- above: '81'
condition: numeric_state
entity_id: sensor.sonoff_1000aedfc0_temperature
- condition: or
conditions:
- below: '80'
condition: numeric_state
entity_id: sensor.sonoff_1000aedfc0_temperature
action:
- data:
message: Temp is {{ states('sensor.sonoff_1000aedfc0_temperature') }}
title: Check Sonic Temp
service: notify.mobile_app_Me
- data:
message: Temp is {{ states('sensor.sonoff_1000aedfc0_temperature') }}
title: Check Sonic Temp
service: notify.mobile_app_Wife