mirror of
https://github.com/esphome/esphome.git
synced 2024-12-30 17:57:43 +01:00
18 lines
328 B
YAML
18 lines
328 B
YAML
|
spi:
|
||
|
- id: spi_ens160
|
||
|
clk_pin: ${clk_pin}
|
||
|
mosi_pin: ${mosi_pin}
|
||
|
miso_pin: ${miso_pin}
|
||
|
|
||
|
sensor:
|
||
|
- platform: ens160_spi
|
||
|
spi_id: spi_ens160
|
||
|
cs_pin: ${cs_pin}
|
||
|
eco2:
|
||
|
name: "ENS160 eCO2"
|
||
|
tvoc:
|
||
|
name: "ENS160 Total Volatile Organic Compounds"
|
||
|
aqi:
|
||
|
name: "ENS160 Air Quality Index"
|
||
|
|