diff --git a/assets/components/sensor/bme280-sensor-ui-config.png b/assets/components/sensor/bme280-sensor-ui-config.png index a2a1d57589..60da4cd1ec 100644 Binary files a/assets/components/sensor/bme280-sensor-ui-config.png and b/assets/components/sensor/bme280-sensor-ui-config.png differ diff --git a/docs/components/sensor/bme280.md b/docs/components/sensor/bme280.md index 13c5311d27..16baa54b27 100644 --- a/docs/components/sensor/bme280.md +++ b/docs/components/sensor/bme280.md @@ -32,8 +32,7 @@ Then remove and fill in the attributes as applicable to your sensor, according t ```json {class="line-numbers linkable-line-numbers"} { - "board": "", - "i2c_bus": "", + "i2c_bus": "", "i2c_address": "" } ``` @@ -43,8 +42,7 @@ Then remove and fill in the attributes as applicable to your sensor, according t ```json {class="line-numbers linkable-line-numbers"} { - "board": "local", - "i2c_bus": "i2c_bus1" + "i2c_bus": "1" } ``` @@ -63,8 +61,7 @@ Then remove and fill in the attributes as applicable to your sensor, according t "type": "sensor", "namespace": "rdk", "attributes": { - "board": "", - "i2c_bus": "", + "i2c_bus": "", "i2c_address": "" }, "depends_on": [] @@ -81,8 +78,7 @@ The following attributes are available for `bme280` sensors: | Attribute | Type | Inclusion | Description | | --------- | ---- | --------- | ---------- | -| `board` | string | **Required** | The `name` of the [board](/components/board/) the sensor is wired to. | -| `i2c_bus` | string | **Required** | The `name` of the [I2C bus](/components/board/#i2cs) on the board that the sensor is wired to. | +| `i2c_bus` | string | **Required** | The index of the [I2C bus](/components/board/#i2cs) on the board that the sensor is wired to. | | `i2c_address` | string | Optional | Default: `0x77`. The [I2C device address](https://learn.adafruit.com/i2c-addresses/overview) of the sensor. | {{< readfile "/static/include/components/test-control/sensor-control.md" >}}