Friendly names in history?

Hello,
is there a way to tell home assistant to show friendly names instead of IDs?

I found this https://www.home-assistant.io/components/history_graph/ where it says:

### CONFIGURATION VARIABLES

entities

(string)(Required)List of entities whose history to show as a graph.

name

(string)(Optional)Name to display.

Default value: ID

but I can’t get it to work like I want, any suggestion?

EDIT: sorry, I made an error, I want the history to show the friendly names, I don’t want to make an history graph, my bad

History does show friendly names:

My bad.
I forgot to reboot Hass.io after changing the configuration.
:confounded:

I have some sensors for LIfe360.
Every sensor has a state with discrete values like “Home”, “Away”.

For every sensor I provided a friendly name like:
device_tracker.life360_iphone_5s -> “iPhone 5S”
These friendly names are specified in “customization.yaml” file.

In the History I have friendly names displayed (not ids).
But in lovelace cards like “history-graph card” - ids.

I think this is a bug?..