Non-numerical entity on history graph

Hi,

I just started using HA so probably I mssing something…

I have an non-numerical entity which is created from node-red.
The entity is a string and I would like to show it in history graph bar, but I always get the line graph.

The entity

image

The history graph card
image

On the documentation it only says that if “unit_of_measurement” is not defined, the graph is shown as bar.

Thanks in advance!
Cheers

remove state_class: measurement from your entity.

1 Like