mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 14:04:53 +01:00
13 lines
215 B
YAML
13 lines
215 B
YAML
|
i2c:
|
||
|
- id: i2c_apds9306
|
||
|
scl: ${scl_pin}
|
||
|
sda: ${sda_pin}
|
||
|
|
||
|
sensor:
|
||
|
- platform: apds9306
|
||
|
name: "APDS9306 Light Level"
|
||
|
gain: 3
|
||
|
bit_width: 16
|
||
|
measurement_rate: 2000ms
|
||
|
update_interval: 60s
|