mirror of
https://github.com/esphome/esphome.git
synced 2025-09-20 20:22:27 +01:00
Sgp30 sensor improvements (#1510)
Co-authored-by: Umberto73 <huub@eikens.com> Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
@@ -8,6 +8,8 @@ from esphome.const import (
|
||||
STATE_CLASS_MEASUREMENT,
|
||||
UNIT_PARTS_PER_MILLION,
|
||||
UNIT_PARTS_PER_BILLION,
|
||||
CONF_BASELINE,
|
||||
CONF_ECO2,
|
||||
CONF_TEMPERATURE,
|
||||
CONF_TVOC,
|
||||
CONF_HUMIDITY,
|
||||
@@ -21,9 +23,6 @@ CCS811Component = ccs811_ns.class_(
|
||||
"CCS811Component", cg.PollingComponent, i2c.I2CDevice
|
||||
)
|
||||
|
||||
CONF_ECO2 = "eco2"
|
||||
CONF_BASELINE = "baseline"
|
||||
|
||||
CONFIG_SCHEMA = (
|
||||
cv.Schema(
|
||||
{
|
||||
|
Reference in New Issue
Block a user