you could use a template sensor Template - Home Assistant
with a template like this:
or you try a custom card: Lovelace: Attributes card / entity row
you could use a template sensor Template - Home Assistant
with a template like this:
or you try a custom card: Lovelace: Attributes card / entity row