From 30def446831e4f64a2f4fa31d7fc3feb01c11394 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 16 May 2023 22:19:36 +0200 Subject: [PATCH] Add sensor device class volatile_organic_compounds_parts (#1780) --- docs/core/entity/sensor.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/core/entity/sensor.md b/docs/core/entity/sensor.md index 2fdd916b..56498a46 100644 --- a/docs/core/entity/sensor.md +++ b/docs/core/entity/sensor.md @@ -74,6 +74,7 @@ If specifying a device class, your sensor entity will need to also return the co | `SensorDeviceClass.TEMPERATURE` | °C, °F, K | Temperature. | `SensorDeviceClass.TIMESTAMP` | | Timestamp. Requires `native_value` to return a Python `datetime.datetime` object, with time zone information, or `None`. | `SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS` | µg/m³ | Concentration of volatile organic compounds +| `SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS_PARTS` | ppm, ppb | Ratio of volatile organic compounds | `SensorDeviceClass.VOLTAGE` | V, mV | Voltage | `SensorDeviceClass.VOLUME` | L, mL, gal, fl. oz., m³, ft³, CCF | Generic volume, this device class should be used for sensors representing a consumption, for example the amount of fuel consumed by a vehicle. | `SensorDeviceClass.VOLUME_STORAGE` | L, mL, gal, fl. oz., m³, ft³, CCF | Generic stored volume, this device class should be used for sensors representing a stored volume, for example the amount of fuel in a fuel tank.