HA uptime and precision

Hey I’ve added the ha uptime sensor from system monitor to my dashboard and I’m trying to cut off all the numbers basically after hours or days. I’ve tried using the precision in the dash file but not having any luck. Anyone know how to make this look cleaner?

you probably need to create another sensor in HA based on that sensor (a template sensor)
and then you can create a widget based on that.

you could also create a custom widget for it but that would be way more work.

I was thinking about that template sensor. I havent made one yet, but this gives me a reason to learn it:) thanks for the quick response!

1 Like