[apds9930] Add ambient light and proximity sensor (#13125)

Co-authored-by: J. Nick Koston <nick@home-assistant.io>
This commit is contained in:
Ilya Esin
2026-10-12 13:14:31 -10:00
committed by GitHub
co-authored by J. Nick Koston
parent 132e9dac8b
commit fa519cea64
9 changed files with 265 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
sensor:
- platform: apds9930
i2c_id: i2c_bus
id: apds9930_sensor
address: 0x39
update_interval: 30s
led_drive: 25ma
proximity_gain: 4x
ambient_light_gain: 16x
illuminance:
name: APDS9930 Illuminance
proximity:
name: APDS9930 Proximity
@@ -0,0 +1,3 @@
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
apds9930: !include common.yaml
@@ -0,0 +1,3 @@
packages:
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
apds9930: !include common.yaml
@@ -0,0 +1,3 @@
packages:
i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml
apds9930: !include common.yaml