mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[CI] Consolidate some tests (B) (#8185)
This commit is contained in:
		
							
								
								
									
										13
									
								
								tests/components/bmp581/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								tests/components/bmp581/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| i2c: | ||||
|   - id: i2c_bmp581 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| sensor: | ||||
|   - platform: bmp581 | ||||
|     temperature: | ||||
|       name: BMP581 Temperature | ||||
|       iir_filter: 2x | ||||
|     pressure: | ||||
|       name: BMP581 Pressure | ||||
|       oversampling: 128x | ||||
| @@ -1,13 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_bmp581 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
| substitutions: | ||||
|   scl_pin: GPIO22 | ||||
|   sda_pin: GPIO21 | ||||
|  | ||||
| sensor: | ||||
|   - platform: bmp581 | ||||
|     temperature: | ||||
|       name: "BMP581 Temperature" | ||||
|       iir_filter: 2x | ||||
|     pressure: | ||||
|       name: "BMP581 Pressure" | ||||
|       oversampling: 128x | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_bmp581 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: bmp581 | ||||
|     temperature: | ||||
|       name: "BMP581 Temperature" | ||||
|       iir_filter: 2x | ||||
|     pressure: | ||||
|       name: "BMP581 Pressure" | ||||
|       oversampling: 128x | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_bmp581 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: bmp581 | ||||
|     temperature: | ||||
|       name: "BMP581 Temperature" | ||||
|       iir_filter: 2x | ||||
|     pressure: | ||||
|       name: "BMP581 Pressure" | ||||
|       oversampling: 128x | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_bmp581 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
| substitutions: | ||||
|   scl_pin: GPIO22 | ||||
|   sda_pin: GPIO21 | ||||
|  | ||||
| sensor: | ||||
|   - platform: bmp581 | ||||
|     temperature: | ||||
|       name: "BMP581 Temperature" | ||||
|       iir_filter: 2x | ||||
|     pressure: | ||||
|       name: "BMP581 Pressure" | ||||
|       oversampling: 128x | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_bmp581 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: bmp581 | ||||
|     temperature: | ||||
|       name: "BMP581 Temperature" | ||||
|       iir_filter: 2x | ||||
|     pressure: | ||||
|       name: "BMP581 Pressure" | ||||
|       oversampling: 128x | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_bmp581 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: bmp581 | ||||
|     temperature: | ||||
|       name: "BMP581 Temperature" | ||||
|       iir_filter: 2x | ||||
|     pressure: | ||||
|       name: "BMP581 Pressure" | ||||
|       oversampling: 128x | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user