I would find it very helpful if the badges in the new section headings could have a precision property.
In my dashboards, I use badges in the headings to display temperatures and humidity. They are displayed with two decimal places as default. It would be great if there was a way to change the precision of the values.
Since badges are supposed to be used to a “quick glance” - a user may want to see a rounded value, and in all other places of HA a full “raw” value is needed. Changing accuracy for the entity itself will affect the whole HA which could be undesired.
When I used to have old badges, I created template sensors with rounded values specially for this “quick glance”.
Actually, a possibility to define a numerical precision could be useful for all stock cards.
Agree. It was not meant to say it wasn’t a valid request. But for temp/hum as asked, 2 digits seems useless anyway, unless it would be for very, very special purposes. So it might solve the OP’s immediate problem for now.
Edwin, stupid me - I changed the precision of the wrong entity. I checked it again and you are right: the modified decimal places are now shown in the heading badges.
But it would be helpful to let the entities in a different precision just in case you need it somewhere else than in the dashboard view.