mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add generic weight device class (#24248)
This commit is contained in:
parent
533ada693e
commit
c8a1ee741d
@ -27,7 +27,7 @@ The type of data a sensor returns impacts how it is displayed in the frontend. T
|
|||||||
- **carbon_monoxide**: Carbon Monoxide in CO (Gas CNG/LPG)
|
- **carbon_monoxide**: Carbon Monoxide in CO (Gas CNG/LPG)
|
||||||
- **current**: Current in A
|
- **current**: Current in A
|
||||||
- **date**: Date string (ISO 8601)
|
- **date**: Date string (ISO 8601)
|
||||||
- **distance**: Generic distance in km, m, cm, mm, mi, yd or in
|
- **distance**: Generic distance in km, m, cm, mm, mi, yd, or in
|
||||||
- **duration**: Duration in days, hours, minutes or seconds
|
- **duration**: Duration in days, hours, minutes or seconds
|
||||||
- **energy**: Energy in Wh, kWh or MWh
|
- **energy**: Energy in Wh, kWh or MWh
|
||||||
- **frequency**: Frequency in Hz, kHz, MHz or GHz
|
- **frequency**: Frequency in Hz, kHz, MHz or GHz
|
||||||
@ -45,16 +45,17 @@ The type of data a sensor returns impacts how it is displayed in the frontend. T
|
|||||||
- **pm25**: Concentration of particulate matter less than 2.5 micrometers in µg/m³
|
- **pm25**: Concentration of particulate matter less than 2.5 micrometers in µg/m³
|
||||||
- **power_factor**: Power factor in %
|
- **power_factor**: Power factor in %
|
||||||
- **power**: Power in W or kW
|
- **power**: Power in W or kW
|
||||||
- **pressure**: Pressure in Pa, kPa, hPa, bar, cbar, mbar, mmHg, inHg or psi
|
- **pressure**: Pressure in Pa, kPa, hPa, bar, cbar, mbar, mmHg, inHg, or psi
|
||||||
- **reactive_power**: Reactive power in var
|
- **reactive_power**: Reactive power in var
|
||||||
- **signal_strength**: Signal strength in dB or dBm
|
- **signal_strength**: Signal strength in dB or dBm
|
||||||
- **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³
|
- **sulphur_dioxide**: Concentration of sulphur dioxide in µg/m³
|
||||||
- **temperature**: Temperature in °C or °F
|
- **temperature**: Temperature in °C or °F
|
||||||
- **timestamp**: Datetime object or timestamp string (ISO 8601)
|
- **timestamp**: Datetime object or timestamp string (ISO 8601)
|
||||||
- **volatile_organic_compounds**: Concentration of volatile organic compounds in µg/m³
|
- **volatile_organic_compounds**: Concentration of volatile organic compounds in µg/m³
|
||||||
- **voltage**: Voltage in V
|
- **voltage**: Voltage in V
|
||||||
- **volume**: Generic volume in L, mL, gal, fl. oz., m³ or ft³
|
- **volume**: Generic volume in L, mL, gal, fl. oz., m³, or ft³
|
||||||
|
- **weight**: Generic mass in kg, g, mg, µg, oz, or lb
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
<img src='/images/screenshots/sensor_device_classes_icons.png' />
|
<img src='/images/screenshots/sensor_device_classes_icons.png' />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user