Mqtt sensor device class enum no history

I am sending via mqtt topic different status of device in string form, e.g., running, stopped, stuck, etc.
In /config/configuration.yaml

mqtt:
  sensor:
    - state_topic: "mower/status"
      name: "Mower status"
      state_class: measurement
      unique_id: "mower_status"
      device_class: enum

This allows me to display status on dashboard, but when I open the entity there is no history.
Is it implemented just for numeric device classes or am I missing some config?

2 Likes