How to format a card to show hours instead of seconds?

Sorry, i guess i did not explain it correctly. For example 27h is displayed as 27:00:00, not as 1d 03:00:00. My duration is measured in seconds.

It’s shocking to discover there’s no way to format date/time/precision when displaying an entity with time/duration values.

Right now, however, there’s a workaround: setting a specific precision will override that HHH:MM:SS format and keep the unit defined for the entity. Thus, for instance, if your entity is in days and you configure precision for one decimal case, it could show 15.6 d:

image