I have mqtt sensor that sends plain number as state. It is miliseconds, but not defined in esphome yaml as such. In lovelace entity details view, I would like to have graph instead of plain single color bar that shows times and values of entity. How can I show the graph? (I hate restarting whole HA server after each configuration change as it loses some sensor states and I have to wait many hours until they get updated again)
You need to add a unit_of_measurement to your sensor. Either in ESPHome or using customize in home assistant.