fixed i2c multiple bus sample code, adding missing "sensor:" sensor line. sample code will now validate. (#4271)

This commit is contained in:
technotic 2024-11-15 03:51:35 -08:00 committed by GitHub
parent 885f8b6f09
commit a8caebd7bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`.