Updated sensor device_classes (#5306)

* Updated sensor device_classes

* Removed lux

* Changed device_class name

* Updated homekit doc
This commit is contained in:
cdce8p 2018-05-05 15:38:37 +02:00 committed by Paulus Schoutsen
parent d7fcb153de
commit 99b142470d
2 changed files with 2 additions and 1 deletions

View File

@ -206,7 +206,7 @@ The following components are currently supported:
| sensor | HumiditySensor | All sensors that have `%` as their `unit_of_measurement` or `humidity` as their `device_class`. |
| sensor | AirQualitySensor | All sensors that have `pm25` as part of their `entity_id` or `pm25` as their `device_class` |
| sensor | CarbonDioxideSensor | All sensors that have `co2` as part of their `entity_id` or `co2` as their `device_class` |
| sensor | LightSensor | All sensors that have `lm`/`lux` as their `unit_of_measurement` or `light` as their `device_class` |
| sensor | LightSensor | All sensors that have `lm` or `lx` as their `unit_of_measurement` or `illuminance` as their `device_class` |
| switch / remote / input_boolean / script | Switch | All represented as switches. |

View File

@ -20,6 +20,7 @@ The way these sensors are displayed in the frontend can be modified in the [cust
- **None**: Generic sensor. This is the default and doesn't need to be set.
- **battery**: Percentage of battery that is left.
- **humidity**: Percentage of humidity in the air.
- **illuminance**: The current light level in lx or lm.
- **temperature**: Temperature in °C or °F.
<p class='img'>