1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

MH-Z19 calibration support (#683)

* Allow configuration to enable or disable automatic baseline calibration on boot
* Add actions to enable or disable automatic baseline calibration
* Add action to calibrate zero point
This commit is contained in:
Nikolay Vasilchuk
2019-08-27 20:33:25 +03:00
committed by Brandon Davidson
parent 15a7d2ef75
commit c5db457700
4 changed files with 97 additions and 0 deletions

View File

@@ -449,6 +449,7 @@ sensor:
temperature:
name: "MH-Z19 Temperature"
update_interval: 15s
automatic_baseline_calibration: false
- platform: mpu6050
address: 0x68
accel_x: