Add new device class for absolute humidity (#40036)

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Michael 2025-07-17 08:50:50 +02:00 committed by GitHub
parent af847348a1
commit c37942dc58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ In addition, the entity can have the following states:
The following device classes are supported for numbers:
- **None**: Generic number. This is the default and doesn't need to be set.
- **absolute_humidity**: Absolute humidity in g/m³, mg/m³.
- **apparent_power**: Apparent power in VA.
- **aqi**: Air Quality Index (unitless).
- **area**: Area in m², cm², km², mm², in², ft², yd², mi², ac, ha

View File

@ -48,6 +48,7 @@ Example of various device class icons for sensors.
The following device classes are supported for sensors:
- **None**: Generic sensor. This is the default and doesn't need to be set.
- **absolute_humidity**: Absolute humidity in g/m³, mg/m³.
- **apparent_power**: Apparent power in VA.
- **aqi**: Air Quality Index (unitless).
- **area**: Area in m², cm², km², mm², in², ft², yd², mi², ac, ha