Automation, Trigger in two cases?

I just can’t wrap my N00b head around this.

I have one Automation for a temperature sensor (in a Smoke sensor), and I want the automation to trigger when temperature goes below 15ºC and trigger when temperature goes over 50 ºC.

Is it possible with a value template or some other trigger condition?..
value_template: {{ sensor.fib_smoke_sensor3_temperature > 50 or
sensor.fib_smoke_sensor3_temperature < 15 }}

  • alias: Smoke Sensor Temp. - Loft
    initial_state: ‘on’
    trigger:
    platform: numeric_state
    entity_id: sensor.fib_smoke_sensor3_temperature
    below: 15
    action:
    • service: notify.ios_toms_iphone_6
      data:
      title: ‘Hassio-Røyk sensor-Loft’
      message: 'Temperatur varsel {{ states.sensor.fib_smoke_sensor3_temperature.state }}

Why do I usually find the answer after posting my problem. Need to buy myself a rubber duck…

  • alias: Smoke Sensor Temp. - Loft
    initial_state: ‘on’
    trigger:
    • platform: numeric_state
      entity_id: sensor.fib_smoke_sensor3_temperature
      above: 50
    • platform: numeric_state
      entity_id: sensor.fib_smoke_sensor3_temperature
      below: 15
      action:
alias: Smoke Sensor Temp. - Loft
initial_state: 'on’
trigger:
  platform: numeric_state
  entity_id: sensor.fib_smoke_sensor3_temperature
  above: 50
  below: 15
action:

What about this?

Nope, when using above and below it means the value has to be in the interval above <—> below.

It works using two trigger platform statements.