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

Add support for SCD4X (#2217)

* Initial commit

* clang-format fixes

* Update CODEOWNERS

* clang-format fixes

* Fix merge error

* Fix missing return

Co-authored-by: Otto winter <otto@otto-winter.com>
This commit is contained in:
Stephen Tierney
2021-09-29 06:10:25 +10:00
committed by GitHub
parent 2b9054d3b2
commit af04f565cf
6 changed files with 424 additions and 0 deletions

View File

@@ -811,6 +811,19 @@ sensor:
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
i2c_id: i2c_bus
- platform: scd4x
co2:
name: "SCD4X CO2"
temperature:
name: "SCD4X Temperature"
humidity:
name: "SCD4X Humidity"
update_interval: 15s
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
i2c_id: i2c_bus
- platform: sgp30
eco2:
name: 'Workshop eCO2'