mirror of
https://github.com/esphome/esphome.git
synced 2025-10-31 23:21:54 +00:00
[opt3001] New component (#6625)
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
This commit is contained in:
10
tests/components/opt3001/common.yaml
Normal file
10
tests/components/opt3001/common.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
i2c:
|
||||
- id: i2c_opt3001
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
|
||||
sensor:
|
||||
- platform: opt3001
|
||||
name: Living Room Brightness
|
||||
address: 0x44
|
||||
update_interval: 30s
|
||||
Reference in New Issue
Block a user