Add 'ha_iot_class'

This commit is contained in:
Fabian Affolter 2017-06-13 19:26:01 +02:00
parent ebc09dbefe
commit 067eb35afa
No known key found for this signature in database
GPG key ID: DDF3D6F44AAB1336
85 changed files with 127 additions and 70 deletions

View file

@ -10,6 +10,7 @@ footer: true
logo: mhz19_logo.png
ha_category: Sensor
ha_release: 0.27
ha_iot_class: "Local Polling"
---
The MH-Z19 is a small nondispersive infrared sensor that can measure CO2 level. High CO2 levels can lead to drowsiness, poor concentration, loss of attention or increased heart rate. The CO2 level outside is around 400ppm, but inside levels can reach between 1000 and 5000 ppm. High CO2 levels indicate that you should increase ventilation.
@ -19,6 +20,7 @@ Check out the [Open Home Automation web site](https://www.open-homeautomation.co
To use this sensor in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: mhz19
serial_device: /dev/tty.SLAB_USBtoUART