Hello @pierre-gilles,
I thought I could implement the « room thermostat » function with Gladys, that is to turn an appliance off or on based on the temperature and the thermostat setpoint.
For that, in my view the simplest solution was to « trigger » a scene in this way:
If variable temperature is less than the value of setpoint then action (with handling of hysteresis by a condition)
After reading the documentation you can do it like @b3n.0 in this post Utiliser la fonctionnalité d'un device comme valeur dans "Continuer seulement si" et "Changement d'état" - #6 par Tlse-vins but with a time-based trigger (which is less clean).
Maybe the easiest for now is to go through Node-RED via MQTT?