mirror of
https://github.com/esphome/esphome.git
synced 2025-02-13 16:38:18 +00:00
10 lines
148 B
YAML
10 lines
148 B
YAML
|
i2c:
|
||
|
- id: i2c_tof10120
|
||
|
scl: ${scl_pin}
|
||
|
sda: ${sda_pin}
|
||
|
|
||
|
sensor:
|
||
|
- platform: tof10120
|
||
|
name: Distance sensor
|
||
|
update_interval: 5s
|