mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	add tests
This commit is contained in:
		
							
								
								
									
										14
									
								
								tests/components/gpio/test.nrf52-adafruit.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								tests/components/gpio/test.nrf52-adafruit.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | binary_sensor: | ||||||
|  |   - platform: gpio | ||||||
|  |     pin: 2 | ||||||
|  |     id: gpio_binary_sensor | ||||||
|  |  | ||||||
|  | output: | ||||||
|  |   - platform: gpio | ||||||
|  |     pin: 3 | ||||||
|  |     id: gpio_output | ||||||
|  |  | ||||||
|  | switch: | ||||||
|  |   - platform: gpio | ||||||
|  |     pin: 4 | ||||||
|  |     id: gpio_switch | ||||||
| @@ -0,0 +1,15 @@ | |||||||
|  | esphome: | ||||||
|  |   name: componenttestnrf52 | ||||||
|  |   friendly_name: $component_name | ||||||
|  |  | ||||||
|  | nrf52: | ||||||
|  |   board: adafruit_itsybitsy_nrf52840 | ||||||
|  |  | ||||||
|  | logger: | ||||||
|  |   level: VERY_VERBOSE | ||||||
|  |  | ||||||
|  | packages: | ||||||
|  |   component_under_test: !include | ||||||
|  |     file: $component_test_file | ||||||
|  |     vars: | ||||||
|  |       component_test_file: $component_test_file | ||||||
		Reference in New Issue
	
	Block a user