Notify when temperature crosses specific value

Hi, anyone that could point me in the right direction?

I want to trigger a notification when the temperature goes above or below a specific value.

automation:
- alias: Notify Freezer below
  initial_state: true
  trigger:
    platform: numeric_state
    entity_id: sensor.freezer_temperature
    below: -22
  action:
  - service: notify.pushbullet
    data:
      title: Freezer Alarm
      message: 'Temeprature in Freezer are below -22 Current Value: {{ sensor.freezer_temperature
        }} !'
  
  
- alias: Notify Freezer above
  initial_state: true
  trigger:
    platform: numeric_state
    entity_id: sensor.freezer_temperature
    above: -17
  action:
  - service: notify.pushbullet
    data:
      title: Freezer Alarm
      message: 'Temeprature in Freezer are above -17 Current Value: {{ sensor.freezer_temperature
        }} !'
automation:
- alias: Notify Freezer below
  initial_state: true
  trigger:
    platform: numeric_state
    entity_id: sensor.freezer_temperature
    below: -22
  action:
  - service: notify.pushbullet
    data_template:
      title: Freezer Alarm
      message: "Temperature in Freezer is below -22 Current Value: {{ states('sensor.freezer_temperature') }}!"

- alias: Notify Freezer above
  initial_state: true
  trigger:
    platform: numeric_state
    entity_id: sensor.freezer_temperature
    above: -17
  action:
  - service: notify.pushbullet
    data_template:
      title: Freezer Alarm
      message: "Temperature in Freezer is above -17 Current Value: {{ states('sensor.freezer_temperature') }} !"
1 Like