mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 07:28:10 +01:00
599dbf27e0
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
20 lines
417 B
YAML
20 lines
417 B
YAML
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
|