mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	SPI and I2C for ENS160 (#6369)
This commit is contained in:
		
							
								
								
									
										17
									
								
								tests/components/ens160_spi/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								tests/components/ens160_spi/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| 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" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user