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

TCS34725 BugFix and GA factor (#2445)

- Fixed endianness bug on tcs34725 data read
- Fixed lux adjustments based on gain, integration time and GA factor
- Added glass attenuation factor to allow using this sensor behind
  semi transparent glass

Co-authored-by: Razorback16 <razorback16@users.noreply.github.com>
This commit is contained in:
razorback16
2021-10-13 09:45:41 -07:00
committed by GitHub
parent bb86db869a
commit 534ce11d54
4 changed files with 197 additions and 31 deletions

View File

@@ -403,7 +403,7 @@ sensor:
name: Illuminance
color_temperature:
name: Color Temperature
integration_time: 700ms
integration_time: 614ms
gain: 60x
- platform: custom
lambda: |-