Reformat value

Hi,

I have an issue. I would like to send a temperature value to my Pixel display. Ulanzi TC001. This LED-Display showns my temperature values as it is shown in the template editor and will not convert it to the country specific format as it is defined in the profile.
{{ states('sensor.hue_motion_sensor_haustur_temperature')| round(2)}}

will result in 10.22, but I would like to have the value with a comma instead of a point like it is shown in HA on my dashboards. How can I replace the point with the comma (10,22)?

Thanks,
Spartacus

You could create a template sensor that looks like

{{ states('sensor.hue_motion_sensor_haustur_temperature')| round(2) | replace('.',',') }}

Hi atlflyer,

thank you very much for your support! It works great!