Automation not triggering (temperature below certain level

I have this automation but is not working. The goal is to receive a notification when temperature goes below a certian level OR above another level.

Is anything wrong?

  - alias: 'Temperature below'
    trigger:
      platform: numeric_state
      entity_id: climate.anna_thermo
      value_template: '{{states.climate.anna_thermo.attributes.temperature}}'
      #entity_id: sensor.netatmo_gilma_bedroom_temperature
      # Optional
      #value_template: '{{ state.attributes.battery }}'
    # At least one of the following required
      above: 23
      below: 18
    action:
    - service: notify.push_html5
      data:
        message: Attenzione temperatura

I suspect you’ll need 2 automations, since it’s (probably) checking for a temperature above 23 and below 18.

I see, I was suggested it was an OR.

I will cancel the “above” and see how it goes

automation:
  trigger:
    platform: template
    value_template: "{% if states.climate.anna_thermo.attributes.temperature < 18 or states.climate.anna_thermo.attributes.temperature > 23  %}true{% endif %}"

Tried this yet?

No but I will try it in the new alert

binary_sensor:
  - platform: template
    sensors:
      temperature_anna_low:
        value_template: '{{ states.climate.anna_thermo.attributes.temperature < 15 }}'
        friendly_name: 'Motion battery is low'

alert:
  temperature_low:
    - name: Temperature is Low
      entity_id: binary_sensor.temperature_anna_low
      repeat: 30
      notifiers:
        - ryans_phone
        - kristens_phone

I do not understand the notifiers, how do you write the:
notify.push_html5

?