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:
		
							
								
								
									
										10
									
								
								tests/components/hrxl_maxsonar_wr/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								tests/components/hrxl_maxsonar_wr/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| uart: | ||||
|   - id: uart_hrxl_maxsonar_wr | ||||
|     tx_pin: ${tx_pin} | ||||
|     rx_pin: ${rx_pin} | ||||
|     baud_rate: 115200 | ||||
|  | ||||
| sensor: | ||||
|   - platform: hrxl_maxsonar_wr | ||||
|     id: hrxl_maxsonar_wr_sensor | ||||
|     name: Rainwater Tank Level | ||||
| @@ -1,10 +1,5 @@ | ||||
| uart: | ||||
|   - id: uart_hrxl_maxsonar_wr | ||||
|     tx_pin: 17 | ||||
|     rx_pin: 16 | ||||
|     baud_rate: 115200 | ||||
| substitutions: | ||||
|   tx_pin: GPIO12 | ||||
|   rx_pin: GPIO14 | ||||
|  | ||||
| sensor: | ||||
|   - platform: hrxl_maxsonar_wr | ||||
|     id: hrxl_maxsonar_wr_sensor | ||||
|     name: Rainwater Tank Level | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,10 +1,5 @@ | ||||
| uart: | ||||
|   - id: uart_hrxl_maxsonar_wr | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 115200 | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|  | ||||
| sensor: | ||||
|   - platform: hrxl_maxsonar_wr | ||||
|     id: hrxl_maxsonar_wr_sensor | ||||
|     name: Rainwater Tank Level | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,10 +1,5 @@ | ||||
| uart: | ||||
|   - id: uart_hrxl_maxsonar_wr | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 115200 | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|  | ||||
| sensor: | ||||
|   - platform: hrxl_maxsonar_wr | ||||
|     id: hrxl_maxsonar_wr_sensor | ||||
|     name: Rainwater Tank Level | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,10 +1,5 @@ | ||||
| uart: | ||||
|   - id: uart_hrxl_maxsonar_wr | ||||
|     tx_pin: 17 | ||||
|     rx_pin: 16 | ||||
|     baud_rate: 115200 | ||||
| substitutions: | ||||
|   tx_pin: GPIO12 | ||||
|   rx_pin: GPIO14 | ||||
|  | ||||
| sensor: | ||||
|   - platform: hrxl_maxsonar_wr | ||||
|     id: hrxl_maxsonar_wr_sensor | ||||
|     name: Rainwater Tank Level | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,10 +1,5 @@ | ||||
| uart: | ||||
|   - id: uart_hrxl_maxsonar_wr | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 115200 | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|  | ||||
| sensor: | ||||
|   - platform: hrxl_maxsonar_wr | ||||
|     id: hrxl_maxsonar_wr_sensor | ||||
|     name: Rainwater Tank Level | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,10 +1,5 @@ | ||||
| uart: | ||||
|   - id: uart_hrxl_maxsonar_wr | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 115200 | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|  | ||||
| sensor: | ||||
|   - platform: hrxl_maxsonar_wr | ||||
|     id: hrxl_maxsonar_wr_sensor | ||||
|     name: Rainwater Tank Level | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user