Skip to content

Commit fdacf2c

Browse files
Add TEMPERATURE_DELTA device_class description (#2835)
Co-authored-by: G Johansson <[email protected]>
1 parent 3bfd684 commit fdacf2c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/core/entity/number.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ If specifying a device class, your number entity will need to also return the co
7777
| `NumberDeviceClass.SPEED` | ft/s, in/d, in/h, in/s, km/h, kn, m/s, mph, mm/d, mm/s | Generic speed
7878
| `NumberDeviceClass.SULPHUR_DIOXIDE` | µg/m³ | Concentration of sulphure dioxide
7979
| `NumberDeviceClass.TEMPERATURE` | °C, °F, K | Temperature.
80+
| `NumberDeviceClass.TEMPERATURE_DELTA` | °C, °F, K | This device class represents a temperature interval (delta), i.e. the difference between two temperature values.
8081
| `NumberDeviceClass.VOLATILE_ORGANIC_COMPOUNDS` | µg/m³, mg/m³ | Concentration of volatile organic compounds
8182
| `NumberDeviceClass.VOLATILE_ORGANIC_COMPOUNDS_PARTS` | ppm, ppb | Ratio of volatile organic compounds
8283
| `NumberDeviceClass.VOLTAGE` | V, mV, µV, kV, MV | Voltage

docs/core/entity/sensor.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ If specifying a device class, your sensor entity will need to also return the co
8080
| `SensorDeviceClass.SPEED` | ft/s, in/d, in/h, in/s, km/h, kn, m/s, mph, mm/d, mm/s | Generic speed
8181
| `SensorDeviceClass.SULPHUR_DIOXIDE` | µg/m³ | Concentration of sulphure dioxide
8282
| `SensorDeviceClass.TEMPERATURE` | °C, °F, K | Temperature.
83+
| `SensorDeviceClass.TEMPERATURE_DELTA` | °C, °F, K | This device class represents a temperature interval (delta), i.e. the difference between two temperature values.
8384
| `SensorDeviceClass.TIMESTAMP` | | Timestamp. Requires `native_value` to return a Python `datetime.datetime` object, with time zone information, or `None`.
8485
| `SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS` | µg/m³, mg/m³ | Concentration of volatile organic compounds
8586
| `SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS_PARTS` | ppm, ppb | Ratio of volatile organic compounds

0 commit comments

Comments
 (0)