LCN sensor unit unknown?

I am experiencing a similar problem as described here:

The problem I have seems to be that the ‰ unit of measurement that is used for LCN CO2 sensors obviously is not recognized. If I take the same sensor and let it pretend to measure in Kelvin, I get a history chart. If I use the ‰ unit, the detail view of the sensors switches to that colored bar that is not really helpful to read.
Any Ideas how configure the LCN sensor so the line graph works again? It did work before, I am not sure which update broke the former behavior. If I got it right, the reason is the unit of measurement, but I don’t know how to make ‰ known to the line graph card as a valid unit.
Any help appreciated!

Michael

The correct SensorDeviceClass and the ppm unit is not known to the LCN integration. It seems HA became somewhat more restrictive if those are missing.
I set up a PR to fix it: Add SensorDeviceClass and unit for LCN CO2 sensor. by alengwenus · Pull Request #142320 · home-assistant/core · GitHub

Thank you very much, Andre

Hi Andre
I noticed the ppm values show fine on the line graphs now. Thanks a lot for that. Unfortunately I experience the same problem with the LCN humidity sensors.
I guess this could be the same problem?

@alengwenus Could you have a look at this? I guess the solution might be as little lines of codes as it was for CO2… hopefully…

Hi @mbitcon
sorry, I completely missed it.
I set up a PR to fix it: Add SensorDeviceClass and unit for LCN humidity sensor. by alengwenus · Pull Request #155044 · home-assistant/core · GitHub

Thank you very much. No worries, I revived a month old thread and did not mention you directly, I guess it is hard to expect you to see it… Glad you saw it now. Thanks for all your work on the LCN Integration!