mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[CI] Consolidate some tests (H) (#8198)
This commit is contained in:
		
							
								
								
									
										13
									
								
								tests/components/he60r/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								tests/components/he60r/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| uart: | ||||
|   - id: uart_he60r | ||||
|     tx_pin: ${tx_pin} | ||||
|     rx_pin: ${rx_pin} | ||||
|     baud_rate: 1200 | ||||
|     parity: EVEN | ||||
|  | ||||
| cover: | ||||
|   - platform: he60r | ||||
|     id: garage_door | ||||
|     name: Garage Door | ||||
|     open_duration: 14s | ||||
|     close_duration: 14s | ||||
| @@ -1,13 +1,5 @@ | ||||
| uart: | ||||
|   - id: uart_he60r | ||||
|     tx_pin: 17 | ||||
|     rx_pin: 16 | ||||
|     baud_rate: 1200 | ||||
|     parity: EVEN | ||||
| substitutions: | ||||
|   tx_pin: GPIO17 | ||||
|   rx_pin: GPIO16 | ||||
|  | ||||
| cover: | ||||
|   - platform: he60r | ||||
|     id: garage_door | ||||
|     name: Garage Door | ||||
|     open_duration: 14s | ||||
|     close_duration: 14s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| uart: | ||||
|   - id: uart_he60r | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 1200 | ||||
|     parity: EVEN | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|  | ||||
| cover: | ||||
|   - platform: he60r | ||||
|     id: garage_door | ||||
|     name: Garage Door | ||||
|     open_duration: 14s | ||||
|     close_duration: 14s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| uart: | ||||
|   - id: uart_he60r | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 1200 | ||||
|     parity: EVEN | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|  | ||||
| cover: | ||||
|   - platform: he60r | ||||
|     id: garage_door | ||||
|     name: Garage Door | ||||
|     open_duration: 14s | ||||
|     close_duration: 14s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| uart: | ||||
|   - id: uart_he60r | ||||
|     tx_pin: 17 | ||||
|     rx_pin: 16 | ||||
|     baud_rate: 1200 | ||||
|     parity: EVEN | ||||
| substitutions: | ||||
|   tx_pin: GPIO17 | ||||
|   rx_pin: GPIO16 | ||||
|  | ||||
| cover: | ||||
|   - platform: he60r | ||||
|     id: garage_door | ||||
|     name: Garage Door | ||||
|     open_duration: 14s | ||||
|     close_duration: 14s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| uart: | ||||
|   - id: uart_he60r | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 1200 | ||||
|     parity: EVEN | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|  | ||||
| cover: | ||||
|   - platform: he60r | ||||
|     id: garage_door | ||||
|     name: Garage Door | ||||
|     open_duration: 14s | ||||
|     close_duration: 14s | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,13 +1,5 @@ | ||||
| uart: | ||||
|   - id: uart_he60r | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 1200 | ||||
|     parity: EVEN | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|  | ||||
| cover: | ||||
|   - platform: he60r | ||||
|     id: garage_door | ||||
|     name: Garage Door | ||||
|     open_duration: 14s | ||||
|     close_duration: 14s | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user