mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			323 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			323 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| i2c:
 | |
|   - id: i2c_gp8403
 | |
|     scl: ${scl_pin}
 | |
|     sda: ${sda_pin}
 | |
| 
 | |
| gp8403:
 | |
|   - id: gp8403_5v
 | |
|     voltage: 5V
 | |
|   - id: gp8403_10v
 | |
|     voltage: 10V
 | |
| 
 | |
| output:
 | |
|   - platform: gp8403
 | |
|     id: gp8403_output_0
 | |
|     gp8403_id: gp8403_5v
 | |
|     channel: 0
 | |
|   - platform: gp8403
 | |
|     gp8403_id: gp8403_10v
 | |
|     id: gp8403_output_1
 | |
|     channel: 1
 |