In Lua, decimal points are not commas. tpt.el.ln2.temperature=61,15 tpt.el.nice.temperature=33,15 Your code has these values. To have the value you wanted (33 full and 15 per cent), you could use 33.15 for most if not all programming languages favor the point ( . ) as a decimal separator.