mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) (#6802)
* Initial changes to support testing of additional framework versions * Rename Arduino test files
This commit is contained in:
		
							
								
								
									
										60
									
								
								tests/components/nextion/test.esp32-c3-ard.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								tests/components/nextion/test.esp32-c3-ard.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,60 @@ | ||||
| wifi: | ||||
|   ssid: MySSID | ||||
|   password: password1 | ||||
|  | ||||
| uart: | ||||
|   - id: uart_nextion | ||||
|     tx_pin: 4 | ||||
|     rx_pin: 5 | ||||
|     baud_rate: 115200 | ||||
|  | ||||
| binary_sensor: | ||||
|   - platform: nextion | ||||
|     page_id: 0 | ||||
|     component_id: 2 | ||||
|     name: Nextion Touch Component | ||||
|   - platform: nextion | ||||
|     id: r0_sensor | ||||
|     name: R0 Sensor | ||||
|     component_name: page0.r0 | ||||
|  | ||||
| sensor: | ||||
|   - platform: nextion | ||||
|     id: testnumber | ||||
|     name: testnumber | ||||
|     variable_name: testnumber | ||||
|   - platform: nextion | ||||
|     id: testwave | ||||
|     name: testwave | ||||
|     component_id: 2 | ||||
|     wave_channel_id: 1 | ||||
|  | ||||
| switch: | ||||
|   - platform: nextion | ||||
|     id: r0 | ||||
|     name: R0 Switch | ||||
|     component_name: page0.r0 | ||||
|  | ||||
| text_sensor: | ||||
|   - platform: nextion | ||||
|     name: text0 | ||||
|     id: text0 | ||||
|     update_interval: 4s | ||||
|     component_name: text0 | ||||
|  | ||||
| display: | ||||
|   - platform: nextion | ||||
|     tft_url: http://esphome.io/default35.tft | ||||
|     update_interval: 5s | ||||
|     on_sleep: | ||||
|       then: | ||||
|         lambda: 'ESP_LOGD("display","Display went to sleep");' | ||||
|     on_wake: | ||||
|       then: | ||||
|         lambda: 'ESP_LOGD("display","Display woke up");' | ||||
|     on_setup: | ||||
|       then: | ||||
|         lambda: 'ESP_LOGD("display","Display setup completed");' | ||||
|     on_page: | ||||
|       then: | ||||
|         lambda: 'ESP_LOGD("display","Display shows new page %u", x);' | ||||
		Reference in New Issue
	
	Block a user