New device class for absolute humidity

Now that units are being more strongly enforced, the g/m3 unit of measurement I use for my absolute humidity sensors look to be on the chopping block:

Entity sensor.shower_absolutehumidity (<...>) is using native unit of measurement 'g/m³' which is not a valid unit for the device class ('humidity') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Could we have a proper absolute humidity class?

How does your overall code/calculation look like?

same issue. The question about “overall code/calculation” doesnt relate.

Absolute humidity cannot be expressed as an percentage (of what?).

+1 for a proper class or extendig the expected units from [’%’] to something like [’%’, ‘g/m³’]

Humidity - Wikipedia

Any consideration?

+1 on this. g/m³ is a valid unit for humidity, but Home Assistant does not accept it (yet).

1 Like

+1 here!
In the mean time, any workarounds?