mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[CI] Consolidate some tests (C) (#8186)
This commit is contained in:
		
							
								
								
									
										11
									
								
								tests/components/cap1188/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								tests/components/cap1188/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| i2c: | ||||
|   - id: i2c_cap1188 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| cap1188: | ||||
|   id: cap1188_component | ||||
|   address: 0x29 | ||||
|   reset_pin: ${reset_pin} | ||||
|   touch_threshold: 0x20 | ||||
|   allow_multiple_touches: true | ||||
| @@ -1,11 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_cap1188 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
|   reset_pin: GPIO15 | ||||
|  | ||||
| cap1188: | ||||
|   id: cap1188_component | ||||
|   address: 0x29 | ||||
|   reset_pin: 15 | ||||
|   touch_threshold: 0x20 | ||||
|   allow_multiple_touches: true | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,11 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_cap1188 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|   reset_pin: GPIO6 | ||||
|  | ||||
| cap1188: | ||||
|   id: cap1188_component | ||||
|   address: 0x29 | ||||
|   reset_pin: 6 | ||||
|   touch_threshold: 0x20 | ||||
|   allow_multiple_touches: true | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,11 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_cap1188 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|   reset_pin: GPIO6 | ||||
|  | ||||
| cap1188: | ||||
|   id: cap1188_component | ||||
|   address: 0x29 | ||||
|   reset_pin: 6 | ||||
|   touch_threshold: 0x20 | ||||
|   allow_multiple_touches: true | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,11 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_cap1188 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
|   reset_pin: GPIO15 | ||||
|  | ||||
| cap1188: | ||||
|   id: cap1188_component | ||||
|   address: 0x29 | ||||
|   reset_pin: 15 | ||||
|   touch_threshold: 0x20 | ||||
|   allow_multiple_touches: true | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,11 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_cap1188 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|   reset_pin: GPIO15 | ||||
|  | ||||
| cap1188: | ||||
|   id: cap1188_component | ||||
|   address: 0x29 | ||||
|   reset_pin: 15 | ||||
|   touch_threshold: 0x20 | ||||
|   allow_multiple_touches: true | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,11 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_cap1188 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|   reset_pin: GPIO6 | ||||
|  | ||||
| cap1188: | ||||
|   id: cap1188_component | ||||
|   address: 0x29 | ||||
|   reset_pin: 6 | ||||
|   touch_threshold: 0x20 | ||||
|   allow_multiple_touches: true | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user