Sensor.hass_uptime badges display "hours/days" in Lovelace? Can "pretty format" be used?

Hi,

I use “sensor.hass_uptime” for display of uptime as I’ve had to reboot on a schedule since a few releases ago to remediate a hanging problem with my Raspberry Pi4. Perhaps those issues have been resolved in the newer releases I’m using now, but I still have the following issue:

The sensor.hass_uptime is used in the “badges” section of my first Lovelace page.

image

I’d like to format this differently…it seems it wants to do the full text date. I’d like to see it displayed in hours, minutes, days since last booted. I mean, in a regular Linux distro has an “uptime -p” (pretty) format, which will show “up 58 minutes”, “up 150 days”, etc.

There may be another sensor that I’m not aware of, so please advise.

Regards,

Ambi