Setting target temp with variable?

I am trying to sync two thermostats I can get the expression to work using fixed numbers, but I can not get it to work when passing a number as a variable. i am pretty sure it is because the number value isnt in float format its an integer. i am getting the following error “Expected “:”, got “}”” Any idea how I can fix this?




Working

 {
"target_temp_low": 64,
"target_temp_high": 75
} 

Not working:

{
    "target_temp_low" : {{msg.message}},
    "target_temp_high" : {{msg.number}}
}