I setup 2 automation to send a notification when temperature over 35 degree, and send a recovery notification when temperature below 35 degree. Sometime, the “Recovery” automation triggered unexpectedly. I am sure before this trigger, the temperature did’t over 35 degree.
I can’t find why the automation been triggered. Can any one help?
- id: '1598255649957'
alias: Office Temperature-back alarm-level-2
description: Send notification when temperature over 35 degree
trigger:
- above: 35
device_id: 404ce87ab9fd422186ef278312da64cf
domain: sensor
entity_id: sensor.office_temperature_back
platform: device
type: value
condition: []
action:
- data:
message: 'Office temp alert: {{ states(''sensor.office_temperature_back'') }}'
service: notify.line_group_notify
mode: single
- id: '1598256255515'
alias: Office Temperature-back alarm-Recovery
description: Send notification when temperature below 35 degree
trigger:
- below: 35
device_id: 404ce87ab9fd422186ef278312da64cf
domain: sensor
entity_id: sensor.office_temperature_back
platform: device
type: value
condition: []
action:
- data:
message: 'Office temp recovery: {{ states(''sensor.office_temperature_back'') }}'
service: notify.line_group_notify
mode: single