mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[CI] Consolidate some tests (G) (#8196)
This commit is contained in:
		
							
								
								
									
										20
									
								
								tests/components/gp8403/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								tests/components/gp8403/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| 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 | ||||
| @@ -1,20 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_gp8403 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
|  | ||||
| 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 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,20 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_gp8403 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| 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 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,20 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_gp8403 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| 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 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,20 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_gp8403 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
|  | ||||
| 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 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,20 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_gp8403 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| 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 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,20 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_gp8403 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| 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 | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user