esphome/esphome/components/sgp40
Nate Lust 92b85f98e8
Sgp40 fix (#2462)
* Sample from SGP40 sensor at the appropriate interval

The spg40 sensor must be sampled at 1Hz for the VOC index algorithm
to work correctly. This commit introduces a on device timer to
sample correctly seperately from updating the public state of the
component.

* Add missing configuration values for SGP40

The SGP40 component was not printing all of it's configuration in
dump_config, add in the missing store_baseline value.

* Address review comments

* Format according to clang-tidy

* Attempt 2 at clang tidy
2021-10-10 10:33:04 +02:00
..
__init__.py Sgp40 (#1513) 2021-04-08 22:40:19 -03:00
sensirion_voc_algorithm.cpp Activate some clang-tidy checks (#1884) 2021-06-10 13:04:40 +02:00
sensirion_voc_algorithm.h Activate some clang-tidy checks (#1884) 2021-06-10 13:04:40 +02:00
sensor.py Add device classes new in HA 2021.9 (#2248) 2021-09-07 10:12:26 +12:00
sgp40.cpp Sgp40 fix (#2462) 2021-10-10 10:33:04 +02:00
sgp40.h Sgp40 fix (#2462) 2021-10-10 10:33:04 +02:00