mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 02:46:53 +00:00
Correct Sensor units for duration and improve readability (#25678)
This commit is contained in:
parent
33b756f75f
commit
24f865fa2e
@ -22,25 +22,25 @@ The type of data a sensor returns impacts how it is displayed in the frontend. T
|
||||
- **None**: Generic sensor. This is the default and doesn't need to be set.
|
||||
- **apparent_power**: Apparent power in VA.
|
||||
- **aqi**: Air Quality Index (unitless).
|
||||
- **atmospheric_pressure**: Atmospheric pressure in cbar, bar, hPa, inHg, kPa, mbar, Pa, psi
|
||||
- **battery**: Percentage of battery that is left
|
||||
- **carbon_dioxide**: Carbon Dioxide in CO2 (Smoke)
|
||||
- **carbon_monoxide**: Carbon Monoxide in CO (Gas CNG/LPG)
|
||||
- **atmospheric_pressure**: Atmospheric pressure in cbar, bar, hPa, inHg, kPa, mbar, Pa or psi
|
||||
- **battery**: Percentage of battery that is left in %
|
||||
- **carbon_dioxide**: Carbon Dioxide in CO2 (Smoke) in ppm
|
||||
- **carbon_monoxide**: Carbon Monoxide in CO (Gas CNG/LPG) in ppm
|
||||
- **current**: Current in A, mA
|
||||
- **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
|
||||
- **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
|
||||
- **date**: Date string (ISO 8601)
|
||||
- **distance**: Generic distance in km, m, cm, mm, mi, yd, or in
|
||||
- **duration**: Duration in days, hours, minutes or seconds
|
||||
- **distance**: Generic distance in km, m, cm, mm, mi, yd or in
|
||||
- **duration**: Duration in d, h, min or s
|
||||
- **energy**: Energy in Wh, kWh or MWh
|
||||
- **enum**: Has a limited set of (non-numeric) states
|
||||
- **frequency**: Frequency in Hz, kHz, MHz or GHz
|
||||
- **gas**: Gasvolume in m³, ft³, or CCF
|
||||
- **humidity**: Percentage of humidity in the air
|
||||
- **gas**: Gasvolume in m³, ft³ or CCF
|
||||
- **humidity**: Percentage of humidity in the air in %
|
||||
- **illuminance**: The current light level in lx
|
||||
- **irradiance**: Irradiance in W/m² or BTU/(h⋅ft²)
|
||||
- **moisture**: Percentage of water in a substance
|
||||
- **monetary**: The monetary value
|
||||
- **moisture**: Percentage of water in a substance in %
|
||||
- **monetary**: The monetary value ([ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes))
|
||||
- **nitrogen_dioxide**: Concentration of Nitrogen Dioxide in µg/m³
|
||||
- **nitrogen_monoxide**: Concentration of Nitrogen Monoxide in µg/m³
|
||||
- **nitrous_oxide**: Concentration of Nitrous Oxide in µg/m³
|
||||
@ -51,21 +51,21 @@ The type of data a sensor returns impacts how it is displayed in the frontend. T
|
||||
- **power_factor**: Power factor (unitless), unit may be `None` or %
|
||||
- **power**: Power in W or kW
|
||||
- **precipitation**: Accumulated precipitation in cm, in or mm
|
||||
- **precipitation_intensity**: Precipitation intensity in in/d, in/h, mm/d, or mm/h
|
||||
- **pressure**: Pressure in Pa, kPa, hPa, bar, cbar, mbar, mmHg, inHg, or psi
|
||||
- **precipitation_intensity**: Precipitation intensity in in/d, in/h, mm/d or mm/h
|
||||
- **pressure**: Pressure in Pa, kPa, hPa, bar, cbar, mbar, mmHg, inHg or psi
|
||||
- **reactive_power**: Reactive power in var
|
||||
- **signal_strength**: Signal strength in dB or dBm
|
||||
- **sound_pressure**: Sound pressure in dB or dBA
|
||||
- **speed**: Generic speed in ft/s, in/d, in/h, km/h, kn, m/s, mph, or mm/d
|
||||
- **speed**: Generic speed in ft/s, in/d, in/h, km/h, kn, m/s, mph or mm/d
|
||||
- **sulphur_dioxide**: Concentration of sulphur dioxide in µg/m³
|
||||
- **temperature**: Temperature in °C or °F
|
||||
- **timestamp**: Datetime object or timestamp string (ISO 8601)
|
||||
- **volatile_organic_compounds**: Concentration of volatile organic compounds in µg/m³
|
||||
- **voltage**: Voltage in V, mV
|
||||
- **volume**: Generic volume in L, mL, gal, fl. oz., m³, ft³, or CCF
|
||||
- **water**: Water consumption in L, gal, m³, ft³, or CCF
|
||||
- **weight**: Generic mass in kg, g, mg, µg, oz, lb, or st
|
||||
- **wind_speed**: Wind speed in ft/s, km/h, kn, m/s, or mph
|
||||
- **volume**: Generic volume in L, mL, gal, fl. oz., m³, ft³ or CCF
|
||||
- **water**: Water consumption in L, gal, m³, ft³ or CCF
|
||||
- **weight**: Generic mass in kg, g, mg, µg, oz, lb or st
|
||||
- **wind_speed**: Wind speed in ft/s, km/h, kn, m/s or mph
|
||||
|
||||
<p class='img'>
|
||||
<img src='/images/screenshots/sensor_device_classes_icons.png' />
|
||||
|
Loading…
x
Reference in New Issue
Block a user