Generic numeric sensor considered to be discreet

Hi,
I’m building an integration for thermal comfort, and I am creating a group of sensors describing the pmv index (for reference: CBE Thermal Comfort Tool for EN-16798)

The problem is that these sensors do not have a unit of measurement to use and I’m not figuring out how to prevent them from being considered discrete instead of numerical:

image

I try to set unit_of_measurement None, empty string and placeholder string “index” but it brought no changes. Is there any way to do this?

Any unit_of_measurement will do, but they will only show a graph when the entries without a unit_of_measurement are purged from the database.

1 Like

thank you so much!
the step I was missing was having to clean up the history

That sounds like a bug! Write it up?

It is known behaviour. The oldest entries in the database are used first to determine how to show them.

Personally, I don’t think it’s a bug. I had read about the need to put the unit of measurement but had postponed to focus on the rest first. So I think it’s more my mistake. Only thing, maybe cleaning of the history can be improved to avoid intervening directly in the db