mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			399 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			399 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| i2c:
 | |
|   - id: i2c_as7341
 | |
|     scl: ${scl_pin}
 | |
|     sda: ${sda_pin}
 | |
| 
 | |
| sensor:
 | |
|   - platform: as7341
 | |
|     update_interval: 15s
 | |
|     gain: X8
 | |
|     atime: 120
 | |
|     astep: 99
 | |
|     f1:
 | |
|       name: F1
 | |
|     f2:
 | |
|       name: F2
 | |
|     f3:
 | |
|       name: F3
 | |
|     f4:
 | |
|       name: F4
 | |
|     f5:
 | |
|       name: F5
 | |
|     f6:
 | |
|       name: F6
 | |
|     f7:
 | |
|       name: F7
 | |
|     f8:
 | |
|       name: F8
 | |
|     clear:
 | |
|       name: Clear
 | |
|     nir:
 | |
|       name: NIR
 |