Support for absolute humidity device class with unit of measurement g/m³

I created a sensor that calculates absolute from relative humidity. The unit_of_measurement is g/m³.
I’m getting an error in the logs that only % is supported.

There’s a nice custom_component for this kind of sensor’s.

1 Like

Unfortunately, this is not very useful for ESPHome. I think, a device_class: absolute_humidity would be very helpful