Change value into variable

Hi,
my necessity is change a numeric value into a variable by my action tiles panel …
I’d like to a simulated thermostat (not %) but without the options of a normal thermostat (only up - down and numeric value).
I tried Simulated Dimmer switch but it’s not really that I want …
Can you help me ?

zzzzz