mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[CI] Consolidate some tests (M) (#8202)
This commit is contained in:
		
							
								
								
									
										9
									
								
								tests/components/modbus/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								tests/components/modbus/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| uart: | ||||
|   - id: uart_modbus | ||||
|     tx_pin: ${tx_pin} | ||||
|     rx_pin: ${rx_pin} | ||||
|     baud_rate: 9600 | ||||
|  | ||||
| modbus: | ||||
|   id: mod_bus1 | ||||
|   flow_control_pin: ${flow_control_pin} | ||||
| @@ -1,9 +1,6 @@ | ||||
| uart: | ||||
|   - id: uart_modbus | ||||
|     tx_pin: 17 | ||||
|     rx_pin: 16 | ||||
|     baud_rate: 9600 | ||||
| substitutions: | ||||
|   tx_pin: GPIO12 | ||||
|   rx_pin: GPIO14 | ||||
|   flow_control_pin: GPIO13 | ||||
|  | ||||
| modbus: | ||||
|   id: mod_bus1 | ||||
|   flow_control_pin: 15 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,6 @@ | ||||
| uart: | ||||
|   - id: uart_modbus | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 9600 | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|   flow_control_pin: GPIO3 | ||||
|  | ||||
| modbus: | ||||
|   id: mod_bus1 | ||||
|   flow_control_pin: 6 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,6 @@ | ||||
| uart: | ||||
|   - id: uart_modbus | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 9600 | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|   flow_control_pin: GPIO3 | ||||
|  | ||||
| modbus: | ||||
|   id: mod_bus1 | ||||
|   flow_control_pin: 6 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,6 @@ | ||||
| uart: | ||||
|   - id: uart_modbus | ||||
|     tx_pin: 17 | ||||
|     rx_pin: 16 | ||||
|     baud_rate: 9600 | ||||
| substitutions: | ||||
|   tx_pin: GPIO12 | ||||
|   rx_pin: GPIO14 | ||||
|   flow_control_pin: GPIO13 | ||||
|  | ||||
| modbus: | ||||
|   id: mod_bus1 | ||||
|   flow_control_pin: 15 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,6 @@ | ||||
| uart: | ||||
|   - id: uart_modbus | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 9600 | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|   flow_control_pin: GPIO13 | ||||
|  | ||||
| modbus: | ||||
|   id: mod_bus1 | ||||
|   flow_control_pin: 12 | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,6 @@ | ||||
| uart: | ||||
|   - id: uart_modbus | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 9600 | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|   flow_control_pin: GPIO3 | ||||
|  | ||||
| modbus: | ||||
|   id: mod_bus1 | ||||
|   flow_control_pin: 6 | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user