mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 00:51:49 +00:00 
			
		
		
		
	* Initial changes to support testing of additional framework versions * Rename Arduino test files
		
			
				
	
	
		
			24 lines
		
	
	
		
			341 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			341 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
i2c:
 | 
						|
  - id: i2c_mcp23017
 | 
						|
    scl: 5
 | 
						|
    sda: 4
 | 
						|
 | 
						|
mcp23017:
 | 
						|
  id: mcp23017_hub
 | 
						|
 | 
						|
binary_sensor:
 | 
						|
  - platform: gpio
 | 
						|
    id: mcp23017_binary_sensor
 | 
						|
    pin:
 | 
						|
      mcp23xxx: mcp23017_hub
 | 
						|
      number: 0
 | 
						|
      mode: INPUT
 | 
						|
 | 
						|
switch:
 | 
						|
  - platform: gpio
 | 
						|
    id: mcp23017_switch
 | 
						|
    pin:
 | 
						|
      mcp23xxx: mcp23017_hub
 | 
						|
      number: 1
 | 
						|
      mode: OUTPUT
 |