From 057a20cde3e787e5dc259deffa7952be254aa67c Mon Sep 17 00:00:00 2001 From: victorclaessen Date: Tue, 11 Mar 2025 22:48:44 +0100 Subject: [PATCH] =?UTF-8?q?Add=20=C2=B5s=20to=20duration=20device=20class?= =?UTF-8?q?=20for=20sensor=20and=20number=20components=20(#37922)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update number.markdown add µs to duration * Update sensor.markdown add µs to duration --- source/_integrations/number.markdown | 2 +- source/_integrations/sensor.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/number.markdown b/source/_integrations/number.markdown index 2bb26928969..8d04222722a 100644 --- a/source/_integrations/number.markdown +++ b/source/_integrations/number.markdown @@ -51,7 +51,7 @@ The following device classes are supported for numbers: - **data_rate**: Data rate in bit/s, kbit/s, Mbit/s, Gbit/s, B/s, kB/s, MB/s, GB/s, KiB/s, MiB/s or GiB/s - **data_size**: Data size in bit, kbit, Mbit, Gbit, B, kB, MB, GB, TB, PB, EB, ZB, YB, KiB, MiB, GiB, TiB, PiB, EiB, ZiB or YiB - **distance**: Generic distance in km, m, cm, mm, mi, nmi, yd, or in -- **duration**: Duration in d, h, min, s, or ms +- **duration**: Duration in d, h, min, s, ms, or µs - **energy**: Energy in J, kJ, MJ, GJ, mWh, Wh, kWh, MWh, GWh, TWh, cal, kcal, Mcal, or Gcal - **energy_distance**: Energy per distance in kWh/100km, mi/kWh or km/kWh. - **energy_storage**: Stored energy in J, kJ, MJ, GJ, mWh, Wh, kWh, MWh, GWh, TWh, cal, kcal, Mcal, or Gcal diff --git a/source/_integrations/sensor.markdown b/source/_integrations/sensor.markdown index 5c94339fbf2..d535faa6d62 100644 --- a/source/_integrations/sensor.markdown +++ b/source/_integrations/sensor.markdown @@ -61,7 +61,7 @@ The following device classes are supported for sensors: - **data_size**: Data size in bit, kbit, Mbit, Gbit, B, kB, MB, GB, TB, PB, EB, ZB, YB, KiB, MiB, GiB, TiB, PiB, EiB, ZiB or YiB - **date**: Date string (ISO 8601) - **distance**: Generic distance in km, m, cm, mm, mi, nmi, yd, or in -- **duration**: Duration in d, h, min, s, or ms +- **duration**: Duration in d, h, min, s, ms, or µs - **energy**: Energy in J, kJ, MJ, GJ, mWh, Wh, kWh, MWh, GWh, TWh, cal, kcal, Mcal, or Gcal - **energy_distance**: Energy per distance in kWh/100km, mi/kWh or km/kWh. - **energy_storage**: Stored energy in J, kJ, MJ, GJ, mWh, Wh, kWh, MWh, GWh, TWh, cal, kcal, Mcal, or Gcal