mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-03-01 03:51:36 +01:00
fixed i2c multiple bus sample code, adding missing "sensor:" sensor line. sample code will now validate. (#4271)
This commit is contained in:
parent
885f8b6f09
commit
a8caebd7bf
@ -58,11 +58,12 @@ Configuration variables:
|
||||
sda: GPIOXX
|
||||
scl: GPIOXX
|
||||
scan: true
|
||||
# Sensors should be specified as follows
|
||||
- platform: bme680
|
||||
i2c_id: bus_b
|
||||
address: 0x76
|
||||
# ...
|
||||
# Sensors should be specified as follows
|
||||
sensor:
|
||||
- platform: bme680
|
||||
i2c_id: bus_b
|
||||
address: 0x76
|
||||
# ...
|
||||
|
||||
For I2C multiplexing see :doc:`/components/tca9548a`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user