mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[CI] Consolidate some tests (H) (#8198)
This commit is contained in:
		
							
								
								
									
										7
									
								
								tests/components/hx711/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								tests/components/hx711/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| sensor: | ||||
|   - platform: hx711 | ||||
|     name: HX711 Value | ||||
|     clk_pin: ${clk_pin} | ||||
|     dout_pin: ${dout_pin} | ||||
|     gain: 128 | ||||
|     update_interval: 15s | ||||
| @@ -1,7 +1,5 @@ | ||||
| sensor: | ||||
|   - platform: hx711 | ||||
|     name: HX711 Value | ||||
|     dout_pin: 14 | ||||
|     clk_pin: 15 | ||||
|     gain: 128 | ||||
|     update_interval: 15s | ||||
| substitutions: | ||||
|   clk_pin: GPIO16 | ||||
|   dout_pin: GPIO17 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,7 +1,5 @@ | ||||
| sensor: | ||||
|   - platform: hx711 | ||||
|     name: HX711 Value | ||||
|     dout_pin: 4 | ||||
|     clk_pin: 5 | ||||
|     gain: 128 | ||||
|     update_interval: 15s | ||||
| substitutions: | ||||
|   clk_pin: GPIO5 | ||||
|   dout_pin: GPIO4 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,7 +1,5 @@ | ||||
| sensor: | ||||
|   - platform: hx711 | ||||
|     name: HX711 Value | ||||
|     dout_pin: 4 | ||||
|     clk_pin: 5 | ||||
|     gain: 128 | ||||
|     update_interval: 15s | ||||
| substitutions: | ||||
|   clk_pin: GPIO5 | ||||
|   dout_pin: GPIO4 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,7 +1,5 @@ | ||||
| sensor: | ||||
|   - platform: hx711 | ||||
|     name: HX711 Value | ||||
|     dout_pin: 14 | ||||
|     clk_pin: 15 | ||||
|     gain: 128 | ||||
|     update_interval: 15s | ||||
| substitutions: | ||||
|   clk_pin: GPIO16 | ||||
|   dout_pin: GPIO17 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,7 +1,5 @@ | ||||
| sensor: | ||||
|   - platform: hx711 | ||||
|     name: HX711 Value | ||||
|     dout_pin: 4 | ||||
|     clk_pin: 5 | ||||
|     gain: 128 | ||||
|     update_interval: 15s | ||||
| substitutions: | ||||
|   clk_pin: GPIO5 | ||||
|   dout_pin: GPIO4 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,7 +1,5 @@ | ||||
| sensor: | ||||
|   - platform: hx711 | ||||
|     name: HX711 Value | ||||
|     dout_pin: 4 | ||||
|     clk_pin: 5 | ||||
|     gain: 128 | ||||
|     update_interval: 15s | ||||
| substitutions: | ||||
|   clk_pin: GPIO5 | ||||
|   dout_pin: GPIO4 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user