add device class absolute_humidity

This commit is contained in:
mib1185 2025-07-10 16:07:22 +00:00
parent 26070fb788
commit 550649128a
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ If specifying a device class, your number entity will need to also return the co
| Constant | Supported units | Description | Constant | Supported units | Description
| ---- | ---- | ----------- | ---- | ---- | -----------
| `NumberDeviceClass.ABSOLUTE_HUMIDITY` | g/m³, mg/m³ | Absolute humidity
| `NumberDeviceClass.APPARENT_POWER` | VA | Apparent power | `NumberDeviceClass.APPARENT_POWER` | VA | Apparent power
| `NumberDeviceClass.AQI` | None | Air Quality Index | `NumberDeviceClass.AQI` | None | Air Quality Index
| `NumberDeviceClass.AREA` | m², cm², km², mm², in², ft², yd², mi², ac, ha | Area | `NumberDeviceClass.AREA` | m², cm², km², mm², in², ft², yd², mi², ac, ha | Area

View File

@ -32,6 +32,7 @@ If specifying a device class, your sensor entity will need to also return the co
| Constant | Supported units | Description | Constant | Supported units | Description
| ---- | ---- | ----------- | ---- | ---- | -----------
| `SensorDeviceClass.ABSOLUTE_HUMIDITY` | g/m³, mg/m³ | Absolute humidity
| `SensorDeviceClass.APPARENT_POWER` | VA | Apparent power | `SensorDeviceClass.APPARENT_POWER` | VA | Apparent power
| `SensorDeviceClass.AQI` | None | Air Quality Index | `SensorDeviceClass.AQI` | None | Air Quality Index
| `SensorDeviceClass.AREA` | m², cm², km², mm², in², ft², yd², mi², ac, ha | Area | `SensorDeviceClass.AREA` | m², cm², km², mm², in², ft², yd², mi², ac, ha | Area