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:
		
							
								
								
									
										13
									
								
								tests/components/ms5611/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								tests/components/ms5611/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| i2c: | ||||
|   - id: i2c_ms5611 | ||||
|     scl: ${i2c_scl} | ||||
|     sda: ${i2c_sda} | ||||
|  | ||||
| sensor: | ||||
|   - platform: ms5611 | ||||
|     temperature: | ||||
|       name: Outside Temperature | ||||
|     pressure: | ||||
|       name: Outside Pressure | ||||
|     address: 0x77 | ||||
|     update_interval: 15s | ||||
| @@ -1,13 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ms5611 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
| substitutions: | ||||
|   i2c_scl: GPIO16 | ||||
|   i2c_sda: GPIO17 | ||||
|  | ||||
| sensor: | ||||
|   - platform: ms5611 | ||||
|     temperature: | ||||
|       name: Outside Temperature | ||||
|     pressure: | ||||
|       name: Outside Pressure | ||||
|     address: 0x77 | ||||
|     update_interval: 15s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ms5611 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   i2c_scl: GPIO5 | ||||
|   i2c_sda: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: ms5611 | ||||
|     temperature: | ||||
|       name: Outside Temperature | ||||
|     pressure: | ||||
|       name: Outside Pressure | ||||
|     address: 0x77 | ||||
|     update_interval: 15s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ms5611 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   i2c_scl: GPIO5 | ||||
|   i2c_sda: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: ms5611 | ||||
|     temperature: | ||||
|       name: Outside Temperature | ||||
|     pressure: | ||||
|       name: Outside Pressure | ||||
|     address: 0x77 | ||||
|     update_interval: 15s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ms5611 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
| substitutions: | ||||
|   i2c_scl: GPIO16 | ||||
|   i2c_sda: GPIO17 | ||||
|  | ||||
| sensor: | ||||
|   - platform: ms5611 | ||||
|     temperature: | ||||
|       name: Outside Temperature | ||||
|     pressure: | ||||
|       name: Outside Pressure | ||||
|     address: 0x77 | ||||
|     update_interval: 15s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ms5611 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   i2c_scl: GPIO5 | ||||
|   i2c_sda: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: ms5611 | ||||
|     temperature: | ||||
|       name: Outside Temperature | ||||
|     pressure: | ||||
|       name: Outside Pressure | ||||
|     address: 0x77 | ||||
|     update_interval: 15s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ms5611 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   i2c_scl: GPIO5 | ||||
|   i2c_sda: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: ms5611 | ||||
|     temperature: | ||||
|       name: Outside Temperature | ||||
|     pressure: | ||||
|       name: Outside Pressure | ||||
|     address: 0x77 | ||||
|     update_interval: 15s | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user