esphome/tests/components/bme280_spi/common.yaml

21 lines
417 B
YAML
Raw Normal View History

spi:
- id: spi_bme280
clk_pin: ${clk_pin}
mosi_pin: ${mosi_pin}
miso_pin: ${miso_pin}
sensor:
- platform: bme280_spi
spi_id: spi_bme280
cs_pin: ${cs_pin}
temperature:
id: bme280_temperature
name: BME280 Temperature
humidity:
id: bme280_humidity
name: BME280 Humidity
pressure:
id: bme280_pressure
name: BME280 Pressure
update_interval: 15s