mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	Add some components to the new testing framework (W) (#6232)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										10
									
								
								tests/components/wiegand/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								tests/components/wiegand/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| wiegand: | ||||
|   - id: test_wiegand | ||||
|     d0: 5 | ||||
|     d1: 4 | ||||
|     on_key: | ||||
|       - lambda: ESP_LOGI("KEY", "Received key %d", x); | ||||
|     on_tag: | ||||
|       - lambda: ESP_LOGI("TAG", "Received tag %s", x.c_str()); | ||||
|     on_raw: | ||||
|       - lambda: ESP_LOGI("RAW", "Received raw %d bits, value %llx", bits, value); | ||||
		Reference in New Issue
	
	Block a user