mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	Consolidate test files where all tests are identical (#6690)
This commit is contained in:
		
							
								
								
									
										9
									
								
								tests/components/exposure_notifications/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								tests/components/exposure_notifications/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| esp32_ble_tracker: | ||||
|  | ||||
| exposure_notifications: | ||||
|   on_exposure_notification: | ||||
|     then: | ||||
|       - lambda: | | ||||
|           ESP_LOGD("main", "Got notification:"); | ||||
|           ESP_LOGD("main", "  RPI: %s", format_hex(x.rolling_proximity_identifier).c_str()); | ||||
|           ESP_LOGD("main", "  RSSI: %d", x.rssi); | ||||
| @@ -1,9 +1 @@ | ||||
| esp32_ble_tracker: | ||||
|  | ||||
| exposure_notifications: | ||||
|   on_exposure_notification: | ||||
|     then: | ||||
|       - lambda: | | ||||
|           ESP_LOGD("main", "Got notification:"); | ||||
|           ESP_LOGD("main", "  RPI: %s", format_hex(x.rolling_proximity_identifier).c_str()); | ||||
|           ESP_LOGD("main", "  RSSI: %d", x.rssi); | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1 @@ | ||||
| esp32_ble_tracker: | ||||
|  | ||||
| exposure_notifications: | ||||
|   on_exposure_notification: | ||||
|     then: | ||||
|       - lambda: | | ||||
|           ESP_LOGD("main", "Got notification:"); | ||||
|           ESP_LOGD("main", "  RPI: %s", format_hex(x.rolling_proximity_identifier).c_str()); | ||||
|           ESP_LOGD("main", "  RSSI: %d", x.rssi); | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1 @@ | ||||
| esp32_ble_tracker: | ||||
|  | ||||
| exposure_notifications: | ||||
|   on_exposure_notification: | ||||
|     then: | ||||
|       - lambda: | | ||||
|           ESP_LOGD("main", "Got notification:"); | ||||
|           ESP_LOGD("main", "  RPI: %s", format_hex(x.rolling_proximity_identifier).c_str()); | ||||
|           ESP_LOGD("main", "  RSSI: %d", x.rssi); | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1 @@ | ||||
| esp32_ble_tracker: | ||||
|  | ||||
| exposure_notifications: | ||||
|   on_exposure_notification: | ||||
|     then: | ||||
|       - lambda: | | ||||
|           ESP_LOGD("main", "Got notification:"); | ||||
|           ESP_LOGD("main", "  RPI: %s", format_hex(x.rolling_proximity_identifier).c_str()); | ||||
|           ESP_LOGD("main", "  RSSI: %d", x.rssi); | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user