mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 07:58:09 +01:00
20 lines
377 B
YAML
20 lines
377 B
YAML
|
i2c:
|
||
|
- id: i2c_bme280
|
||
|
scl: ${scl_pin}
|
||
|
sda: ${sda_pin}
|
||
|
|
||
|
sensor:
|
||
|
- platform: bme280_i2c
|
||
|
i2c_id: i2c_bme280
|
||
|
address: 0x76
|
||
|
temperature:
|
||
|
id: bme280_temperature
|
||
|
name: BME280 Temperature
|
||
|
humidity:
|
||
|
id: bme280_humidity
|
||
|
name: BME280 Humidity
|
||
|
pressure:
|
||
|
id: bme280_pressure
|
||
|
name: BME280 Pressure
|
||
|
update_interval: 15s
|