mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 11:08:10 +01:00
8dfe1d5220
* LTR303 and LTR329 light sensors * LTR303 tidy up * LTR303 unused var * LTR303 tidy up + test * LTR303 auto sensitivity mode * LTR303 auto sensitivity mode tidy * LTR303 State machine version * LTR303 name fix * publish split * minor * new definitions for LTR * als-ps test * als-ps test * als-ps test * ps options * ps options * trgger bug fixed * trgger bug fixed * Minor comments * ltr303->ltr_als_ps * codeowners, tests * tidy up * tidy up * tidy up * gain enum name fix * auto gain fix * tweaks * new style tests * als/ps separate init * logd->logv * reconfiguration count changed * old-style tests removed * const py * ambient light const in vmel7700 and ltr390 * Update esphome/components/ltr_als_ps/ltr_als_ps.cpp Co-authored-by: Keith Burzinski <kbx81x@gmail.com> * Apply suggestions from code review Co-authored-by: Keith Burzinski <kbx81x@gmail.com> * remove commented code --------- Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
11 lines
290 B
YAML
11 lines
290 B
YAML
sensor:
|
|
- platform: ltr_als_ps
|
|
address: 0x23
|
|
i2c_id: i2c_als_ps
|
|
gain: 1x
|
|
integration_time: 100ms
|
|
ps_cooldown: 5 s
|
|
ambient_light: "Ambient light"
|
|
full_spectrum_counts: "Full spectrum counts"
|
|
infrared_counts: "Infrared counts"
|
|
actual_gain: "Actual gain"
|