1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Add support for Sensirion SCD30 CO2 sensors (#712)

* Add support for Sensirion SCD30 CO2 sensors

* Fixed few lint issues

* Lint fixes

* Fixed line ending for lint

* Cleanup

* Refactored float conversion

* Refactor unnecessary return


Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
Nad
2019-08-31 19:24:37 +02:00
committed by Otto Winter
parent 244c4be8cc
commit 4c03cebef3
5 changed files with 264 additions and 0 deletions

View File

@@ -507,6 +507,15 @@ sensor:
name: "Living Room Humidity 8"
address: 0x44
update_interval: 15s
- platform: scd30
co2:
name: "Living Room CO2 9"
temperature:
name: "Living Room Temperature 9"
humidity:
name: "Living Room Humidity 9"
address: 0x61
update_interval: 15s
- platform: template
name: "Template Sensor"
id: template_sensor