mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +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)
|
||||
- **current**: Current in A
|
||||
- **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
|
||||
- **energy**: Energy in Wh, kWh or MWh
|
||||
- **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³
|
||||
- **power_factor**: Power factor in %
|
||||
- **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
|
||||
- **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³
|
||||
- **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
|
||||
- **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'>
|
||||
<img src='/images/screenshots/sensor_device_classes_icons.png' />
|
||||
|
Loading…
x
Reference in New Issue
Block a user