From 5161f2ff318c645b06c41c68968f9451744909f2 Mon Sep 17 00:00:00 2001 From: Rick Auch <48502913+mekaneck@users.noreply.github.com> Date: Sun, 23 Feb 2025 00:49:49 -0600 Subject: [PATCH 1/2] Update sensor.md --- 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 b5ad68f5a78..37a583b1f58 100644 --- a/docs/core/entity/sensor.md +++ b/docs/core/entity/sensor.md @@ -77,6 +77,7 @@ If specifying a device class, your sensor entity will need to also return the co | `SensorDeviceClass.SPEED` | ft/s, in/d, in/h, in/s, km/h, kn, m/s, mph, mm/d, mm/s | Generic speed | `SensorDeviceClass.SULPHUR_DIOXIDE` | µg/m³ | Concentration of sulphure dioxide | `SensorDeviceClass.TEMPERATURE` | °C, °F, K | Temperature. +| `SensorDeviceClass.TEMPERATURE_DELTA` | °C, °F, K | Temperature difference. | `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 From 90c2bd7fa81778aa05bb3d9b6f01c0b82362e39e Mon Sep 17 00:00:00 2001 From: Rick Auch <48502913+mekaneck@users.noreply.github.com> Date: Sun, 23 Feb 2025 00:57:49 -0600 Subject: [PATCH 2/2] Update number.md --- docs/core/entity/number.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/core/entity/number.md b/docs/core/entity/number.md index 18a7b2f9f18..6b9015fa87d 100644 --- a/docs/core/entity/number.md +++ b/docs/core/entity/number.md @@ -73,6 +73,7 @@ If specifying a device class, your number entity will need to also return the co | `NumberDeviceClass.SPEED` | ft/s, in/d, in/h, in/s, km/h, kn, m/s, mph, mm/d, mm/s | Generic speed | `NumberDeviceClass.SULPHUR_DIOXIDE` | µg/m³ | Concentration of sulphure dioxide | | `NumberDeviceClass.TEMPERATURE` | °C, °F, K | Temperature. +| `NumberDeviceClass.TEMPERATURE_DELTA` | °C, °F, K | Temperature difference. | `NumberDeviceClass.VOLATILE_ORGANIC_COMPOUNDS` | µg/m³ | Concentration of volatile organic compounds | `NumberDeviceClass.VOLTAGE` | V, mV, µV, kV, MV | Voltage | `NumberDeviceClass.VOLUME` | L, mL, gal, fl. oz., m³, ft³, CCF | Generic volume, this device class should be used to represent a consumption, for example the amount of fuel consumed by a vehicle.