1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

Support component tsl2591 (#2131)

Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
Co-authored-by: WJCarpenter <bill@carpenter.org>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
WJCarpenter
2021-08-10 01:48:06 -07:00
committed by GitHub
parent c6c2842bdb
commit 183e2a8471
8 changed files with 813 additions and 2 deletions

View File

@@ -840,6 +840,25 @@ sensor:
is_cs_package: true
integration_time: 402ms
gain: 16x
- platform: tsl2591
id: this_little_light_of_mine
address: 0x29
update_interval: 15s
integration_time: 600ms
gain: high
visible:
name: "tsl2591 visible"
id: tsl2591_vis
unit_of_measurement: 'pH'
infrared:
name: "tsl2591 infrared"
id: tsl2591_ir
full_spectrum:
name: "tsl2591 full_spectrum"
id: tsl2591_fs
calculated_lux:
name: "tsl2591 calculated_lux"
id: tsl2591_cl
- platform: ultrasonic
trigger_pin: GPIO25
echo_pin: