Add volatile organic compounds device class (#19053)

This commit is contained in:
Jc2k 2021-08-23 10:19:41 +01:00 committed by GitHub
parent b696b9db01
commit d16598b797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,8 @@ 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.
- **aqi**: Air Quality Index
- **battery**: Percentage of battery that is left.
- **carbon_dioxide**: Carbon Dioxide in CO2 (Smoke)
- **carbon_monoxide**: Carbon Monoxide in CO (Gas CNG/LPG)
- **current**: Current in A.
- **energy**: Energy in Wh or kWh.
- **humidity**: Percentage of humidity in the air.
@ -30,16 +32,15 @@ The type of data a sensor returns impacts how it is displayed in the frontend. T
- **pm1**: Concentration of particulate matter less than 1 micrometer in µg/m³
- **pm25**: Concentration of particulate matter less than 2.5 micrometers in µg/m³
- **pm10**: Concentration of particulate matter less than 10 micrometers in µg/m³
- **sulphur_dioxide**: Concentration of sulphur dioxide in µg/m³
- **signal_strength**: Signal strength in dB or dBm.
- **temperature**: Temperature in °C or °F.
- **power**: Power in W or kW.
- **power_factor**: Power factor in %.
- **pressure**: Pressure in hPa or mbar.
- **signal_strength**: Signal strength in dB or dBm.
- **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.
- **carbon_monoxide**: Carbon Monoxide in CO (Gas CNG/LPG)
- **carbon_dioxide**: Carbon Dioxide in CO2 (Smoke)
<p class='img'>
<img src='/images/screenshots/sensor_device_classes_icons.png' />