mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[CI] Consolidate some tests (M) (#8202)
This commit is contained in:
		
							
								
								
									
										23
									
								
								tests/components/mcp23016/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								tests/components/mcp23016/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| i2c: | ||||
|   - id: i2c_mcp23016 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| mcp23016: | ||||
|   id: mcp23016_hub | ||||
|  | ||||
| binary_sensor: | ||||
|   - platform: gpio | ||||
|     id: mcp23016_binary_sensor | ||||
|     pin: | ||||
|       mcp23016: mcp23016_hub | ||||
|       number: 0 | ||||
|       mode: INPUT | ||||
|  | ||||
| switch: | ||||
|   - platform: gpio | ||||
|     id: mcp23016_switch | ||||
|     pin: | ||||
|       mcp23016: mcp23016_hub | ||||
|       number: 1 | ||||
|       mode: OUTPUT | ||||
		Reference in New Issue
	
	Block a user