spi:
  - id: spi_bme280
    clk_pin: 2
    mosi_pin: 3
    miso_pin: 4

sensor:
  - platform: bme280_spi
    cs_pin: 6
    temperature:
      id: bme280_temperature
      name: BME280 Temperature
    humidity:
      id: bme280_humidity
      name: BME280 Humidity
    pressure:
      id: bme280_pressure
      name: BME280 Pressure
    update_interval: 15s