mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 15:35:59 -07:00
Minor tidy up of BME280 code (#6672)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
19
tests/components/bme280_i2c/common.yaml
Normal file
19
tests/components/bme280_i2c/common.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
Reference in New Issue
Block a user