From 615fc11729b90f938708a274d591671f91af8640 Mon Sep 17 00:00:00 2001 From: dontinelli <73341522+dontinelli@users.noreply.github.com> Date: Sat, 24 Aug 2024 13:53:31 +0200 Subject: [PATCH] Add docs for CONDUCTIVITY device class (#2285) * Add documentation for SensorDeviceClass.CONDUCTIVITY * Update number.md * Remove period --------- Co-authored-by: Martin Hjelmare --- docs/core/entity/number.md | 1 + docs/core/entity/sensor.md | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/core/entity/number.md b/docs/core/entity/number.md index cb1728d3..f6005fbb 100644 --- a/docs/core/entity/number.md +++ b/docs/core/entity/number.md @@ -37,6 +37,7 @@ If specifying a device class, your number entity will need to also return the co | `NumberDeviceClass.BATTERY` | % | Percentage of battery that is left | `NumberDeviceClass.CARBON_DIOXIDE` | ppm | Concentration of carbon dioxide. | `NumberDeviceClass.CARBON_MONOXIDE` | ppm | Concentration of carbon monoxide. +| `NumberDeviceClass.CONDUCTIVITY` | S/cm, mS/cm, µS/cm | Conductivity | `NumberDeviceClass.CURRENT` | A, mA | Current | `NumberDeviceClass.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 | `NumberDeviceClass.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 diff --git a/docs/core/entity/sensor.md b/docs/core/entity/sensor.md index e04a31e4..740037b3 100644 --- a/docs/core/entity/sensor.md +++ b/docs/core/entity/sensor.md @@ -38,6 +38,7 @@ If specifying a device class, your sensor entity will need to also return the co | `SensorDeviceClass.BATTERY` | % | Percentage of battery that is left | `SensorDeviceClass.CO2` | ppm | Concentration of carbon dioxide. | `SensorDeviceClass.CO` | ppm | Concentration of carbon monoxide. +| `SensorDeviceClass.CONDUCTIVITY` | S/cm, mS/cm, µS/cm | Conductivity | `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