mirror of
https://github.com/esphome/esphome.git
synced 2024-12-02 19:54:14 +01:00
92b85f98e8
* 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 |
||
---|---|---|
.. | ||
__init__.py | ||
sensirion_voc_algorithm.cpp | ||
sensirion_voc_algorithm.h | ||
sensor.py | ||
sgp40.cpp | ||
sgp40.h |