mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
13 lines
207 B
YAML
13 lines
207 B
YAML
i2c:
|
|
- id: i2c_gl_r01_i2c
|
|
scl: ${scl_pin}
|
|
sda: ${sda_pin}
|
|
|
|
sensor:
|
|
- platform: gl_r01_i2c
|
|
id: tof
|
|
name: "ToF sensor"
|
|
i2c_id: i2c_gl_r01_i2c
|
|
address: 0x74
|
|
update_interval: 15s
|