Round value of temperature sensor

I have recently added Sonoff switch with temperature sensor. I have added entity to the dashboard and it shows temp. with huge number of decimals after coma 2,16249990463257 °C. Is there any way to cut this to 1 decimal?

Hi, I have the same problem. My sensor sends floating point values, rounded to two places. But one or two times a day, the value is like yours (2,344454534534534534).
But Pyhons / Home Assistent says to the value “NoN Not A Number”, so HA throws exceptions.
Hope, someone can help us.