ESP home template number

I use the template number to set rgb value for a ledstrip. Have the value red, green and blue
But when I pass this to homeasstistant the value’s are shown with a comma. See picture.
Is it possible to get rid of the comma
RGB

number:
  # red value
  - platform: template
    name: "1.Red"
    id: rgb_r
    optimistic: true
    mode: box
    initial_value: 255   
    restore_value: True
    min_value: 0
    max_value: 255
    step: 1
   # green value
  - platform: template
    name: "2.Green"
    id: rgb_g
    optimistic: true
    mode: box
    initial_value: 255
    restore_value: True
    min_value: 0
    max_value: 255
    step: 1
   # blue value
  - platform: template
    name: "3.Blue"
    id: rgb_b
    optimistic: true
    mode: box
    initial_value: 250
    restore_value: True
    min_value: 0
    max_value: 255
    step: 1

Try accuracy_decimals: 0

Detailed description: Sensor Component

It won’t compile when I put it in

[accuracy_decimals] is an invalid option for [number.template]. Please check the indentation.

Ah, my fault. I was at template sensor, not template number.
The values are defined as float. Didn’t find an option to cut decimals. Sorry.

My goal is to send a RGB value like 255,255,250 now I defined a Red a Green and a Blue. Maybe I need a different approach for doing this

Isn’t it just a cosmetic issue? Since your step value is 1, the values are all integer.

Yes it is only cosmetic, but is was nice to see that the numbers were rounded.

If I look in HA for other number value’s for example my Sonos system. You see that the level for bass is a rounded number