Tasmota rules for analog pin (temperature sensor)

Hello,
Hopefully, I can get input from tasmota rules experts here

Helping a friend remotely, so trying to come up with the set of rules for him to try.

I have a temperature sensor connected to the analog pin.
Having trouble understanding how to set up rules to trigger a relay that starts a relay (a fan) as soon as the temperature is above a certain value - 30C

Tried working with telemetry messages but those are posted once in 300 seconds. Looking for something that will trigger immediately once the temperature reaches 30C

Here is what I have now

Rule1 1
Rule1 5 - trying to use one-shot so that relay works only once and not every time telemetry message is received
Mem1 30 -  setting temperature threshold

Rule1 
  on tele-ANALOG#temperature do backlog event temp_current=%value% endon 
  on event#temp_current<%mem1% do power1 0 endon 
  on event#temp_current>%mem1% do power1 1 endon

How would I go about changing to trigger to just a sensor result? Just remove “tele”? Can not figure it out… and not many samples of rules related to analog pin on the internet

Rule1 
  on ANALOG#temperature do backlog event temp_current=%value% endon 
  on event#temp_current<%mem1% do power1 0 endon 
  on event#temp_current>%mem1% do power1 1 endon

Here is the config and sample console messages