mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 00:51:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			237 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			237 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
i2c:
 | 
						|
  - id: i2c_tsl2561
 | 
						|
    scl: ${scl_pin}
 | 
						|
    sda: ${sda_pin}
 | 
						|
 | 
						|
sensor:
 | 
						|
  - platform: tsl2561
 | 
						|
    name: TSL2561 Ambient Light
 | 
						|
    address: 0x39
 | 
						|
    is_cs_package: true
 | 
						|
    integration_time: 402ms
 | 
						|
    gain: 16x
 | 
						|
    update_interval: 15s
 |