esphome/tests/components/bme280_i2c/common.yaml
Anton Viktorov 599dbf27e0
Minor tidy up of BME280 code (#6672)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-06 14:19:25 +12:00

19 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