mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-28 21:53:48 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			207 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			207 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| i2c:
 | |
|   - id: i2c_gl_r01_i2c
 | |
|     scl: ${scl_pin}
 | |
|     sda: ${sda_pin}
 | |
| 
 | |
| sensor:
 | |
|   - platform: gl_r01_i2c
 | |
|     id: tof
 | |
|     name: "ToF sensor"
 | |
|     i2c_id: i2c_gl_r01_i2c
 | |
|     address: 0x74
 | |
|     update_interval: 15s
 |