Using a variable value to set thermostat set points broken

If I create a decimal value and use that to set a thermostat set point in a rule machine app it throws a java runtime error stating that a string can't be cast to a decimal.

How do I use a variable value to set a thermostat set point?

Thanks/Anker

You should show the rule you are using.

This rule snippet sets the cooling setpoint to a variable value, in this case it's a local variable in the rule, but it could be any variable:

And here is the log of that action running:

And the thermostat itself after, showing the setpoint having been set:

Screenshot 2024-07-30 at 3.03.40 PM

That variable is a Decimal variable: