mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Add some components to the new testing framework (E) (#6176)
This commit is contained in:
9
tests/components/exposure_notifications/test.esp32.yaml
Normal file
9
tests/components/exposure_notifications/test.esp32.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);
|
||||
Reference in New Issue
Block a user