Picture-elements card - round the state-label

Is it possible to use a round() function on a state-label inside a picture-elements? Hue sensors report the temperature with 2 decimal places, but it makes more sense to round this to an integer to display on a picture-elements floor plan card…

I know I could create a template sensor which rounds the value, but I’d prefer to see an integer displayed and then see the full or exact value in the more-info dialog - and I don’t want additional sensors :slight_smile:

Thanks!

3 Likes

did you find solution?

1 Like

No, I still have the temp showing with 2 decimal places. As I said, you can create a template sensor that rounds the temp, but I’ve not taken that route.

If you do find a way, please let me know!