Correct automation?

Hello friends. This automation is correct. I need it to send a message when it exceeds a temperature or when it falls below a certain value.
greater than 29.5
less than of 27.5

If I run the automation it sends the message. But if I let the automation run it doesn’t send it.

Thanks a lot

alias: Alarma error sensor
description: Envía una notificación cuando el sensor de temperatura falla
trigger:
  - platform: numeric_state
    entity_id: sensor.temperatura_plantado
    above: '29.5'
    attribute: temperature
  - platform: numeric_state
    entity_id: sensor.temperatura_plantado
    attribute: temperature
    below: '27.5'
condition: []
action:
  - device_id: 7e994f7aexxxxxxx
    domain: mobile_app
    type: notify
    message: El sensor de temperatura parece estar fallando
    title: Alerta
mode: single

It does look correct for what I can see.
1 - is the automation enabled
2 - verify the entity_id is correct in developer tools

You could try outputting the value of sensor.temperatura_plantado in your notification.

message: >-
  El sensor de temperatura parece estar fallando 
  {{states['sensor.temperatura_plantado']}}

also

  1. just a good habit

when dealing with numeric_state

dont use the quotes around the numbers

  - platform: numeric_state
    entity_id: sensor.temperatura_plantado
    above: 29.5

https://www.home-assistant.io/docs/automation/trigger/ 1/2 way down

The use of the quotation marks was automatic. I removed the quotes and it worked.
Now what I noticed is that execution is not instantaneous. It takes a few minutes. Can be?

Can be what?

You do realise the temperature needs to cross the boundary of the state condition?

Sorry. Is the translation.

The question is how many minutes do you run the automations?