esphome/tests/components/bh1750/test.esp8266.yaml

11 lines
152 B
YAML

i2c:
- id: i2c_bh1750
scl: 5
sda: 4
sensor:
- platform: bh1750
name: Living Room Brightness
address: 0x23
update_interval: 30s