mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-31 18:18:27 +02:00
Consolidate test files where all tests are identical (#6690)
This commit is contained in:
@@ -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