Document apparent and reactive power sensor device classes (#20836)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Erik Montnemery 2021-12-23 10:29:51 +01:00 committed by GitHub
parent 24c4bca7f4
commit b97fb80255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,7 @@ Some of these sensors are built-in to Home Assistant, some are created automatic
The type of data a sensor returns impacts how it is displayed in the frontend. This is controlled by the sensor's device class designation. Built-in sensors and many created from an integration will have this designation predefined. Those can be modified in the [customize section](/docs/configuration/customizing-devices/). When manually creating a new sensor the device class may be optionally assigned. A full list of available sensor device classes is below:
- **None**: Generic sensor. This is the default and doesn't need to be set.
- **apparent_power**: Apparent power in VA.
- **aqi**: Air Quality Index
- **battery**: Percentage of battery that is left.
- **carbon_dioxide**: Carbon Dioxide in CO2 (Smoke)
@ -39,6 +40,7 @@ The type of data a sensor returns impacts how it is displayed in the frontend. T
- **power_factor**: Power factor in %.
- **power**: Power in W or kW.
- **pressure**: Pressure in hPa or mbar.
- **reactive_power**: Reactive power in var.
- **signal_strength**: Signal strength in dB or dBm.
- **sulphur_dioxide**: Concentration of sulphur dioxide in µg/m³
- **temperature**: Temperature in °C or °F.