Align SensorDeviceClass page with code (#1810)

This commit is contained in:
Joost Lekkerkerker 2023-06-22 16:39:47 +02:00 committed by GitHub
parent 3bf3721acb
commit 57f75b937f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,8 +36,8 @@ If specifying a device class, your sensor entity will need to also return the co
| `SensorDeviceClass.AQI` | None | Air Quality Index
| `SensorDeviceClass.ATMOSPHERIC_PRESSURE` | cbar, bar, hPa, inHg, kPa, mbar, Pa, psi | Atmospheric pressure.
| `SensorDeviceClass.BATTERY` | % | Percentage of battery that is left
| `SensorDeviceClass.CARBON_DIOXIDE` | ppm | Concentration of carbon dioxide.
| `SensorDeviceClass.CARBON_MONOXIDE` | ppm | Concentration of carbon monoxide.
| `SensorDeviceClass.CO2` | ppm | Concentration of carbon dioxide.
| `SensorDeviceClass.CO` | ppm | Concentration of carbon monoxide.
| `SensorDeviceClass.CURRENT` | A, mA | Current
| `SensorDeviceClass.DATA_RATE` | bit/s, kbit/s, Mbit/s, Gbit/s, B/s, kB/s, MB/s, GB/s, KiB/s, MiB/s, GiB/s | Data rate
| `SensorDeviceClass.DATA_SIZE` | bit, kbit, Mbit, Gbit, B, kB, MB, GB, TB, PB, EB, ZB, YB, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB | Data size