How use value from sensor in automation?

Hello,
I’m a newbie and I try setup an automation for the Follow Me feature.
I have a SLWF-01pro with ESPHome plugged on my Midea heatpump and want use the temp measured by one of my zwave thermostat. My problem is that in the field marked on the print screen I can only input constant digit value…
How use the read sensor temperature in this field?

Thanks

You need to reference the entity instead of a number there.

The ID entity for the read temp of my thermostat is “sensor.thermostat_salon_temperature” but the field don’t allow it… I can only input digit

For your situation, you want the value of the sensor’s state, so the template that goes in that field should likely be as follows:

{{ states('sensor.thermostat_salon_temperature') }}

In the future, please follow Community Guideline #11 and post configuration as properly formatted YAML… it makes it much easier to read, edit, and provide answers.