From d50255db3f85a8c556d9f9d05ea51c137fcad150 Mon Sep 17 00:00:00 2001 From: Trevor Schirmer <24777085+TrevorSchirmer@users.noreply.github.com> Date: Sun, 22 Sep 2024 10:02:14 -0400 Subject: [PATCH] Add mm/s and in/s As Speed (#2298) --- docs/core/entity/number.md | 2 +- docs/core/entity/sensor.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/entity/number.md b/docs/core/entity/number.md index f6005fbb..c67c7555 100644 --- a/docs/core/entity/number.md +++ b/docs/core/entity/number.md @@ -67,7 +67,7 @@ If specifying a device class, your number entity will need to also return the co | `NumberDeviceClass.REACTIVE_POWER` | var | Reactive power | | `NumberDeviceClass.SIGNAL_STRENGTH` | dB, dBm | Signal strength | `NumberDeviceClass.SOUND_PRESSURE` | dB, dBA | Sound pressure -| `NumberDeviceClass.SPEED` | ft/s, in/d, in/h, km/h, kn, m/s, mph, mm/d | Generic speed +| `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.VOLATILE_ORGANIC_COMPOUNDS` | µg/m³ | Concentration of volatile organic compounds diff --git a/docs/core/entity/sensor.md b/docs/core/entity/sensor.md index 8b272047..c1b929ba 100644 --- a/docs/core/entity/sensor.md +++ b/docs/core/entity/sensor.md @@ -71,7 +71,7 @@ If specifying a device class, your sensor entity will need to also return the co | `SensorDeviceClass.REACTIVE_POWER` | var | Reactive power | | `SensorDeviceClass.SIGNAL_STRENGTH` | dB, dBm | Signal strength | `SensorDeviceClass.SOUND_PRESSURE` | dB, dBA | Sound pressure -| `SensorDeviceClass.SPEED` | ft/s, in/d, in/h, km/h, kn, m/s, mph, mm/d | Generic speed +| `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.TIMESTAMP` | | Timestamp. Requires `native_value` to return a Python `datetime.datetime` object, with time zone information, or `None`.