mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) (#6802)
* Initial changes to support testing of additional framework versions * Rename Arduino test files
This commit is contained in:
37
tests/components/pn7160_spi/test.esp32-ard.yaml
Normal file
37
tests/components/pn7160_spi/test.esp32-ard.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- tag.set_clean_mode: nfcc_pn7160
|
||||
- tag.set_format_mode: nfcc_pn7160
|
||||
- tag.set_read_mode: nfcc_pn7160
|
||||
- tag.set_write_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.set_write_mode: nfcc_pn7160
|
||||
- tag.set_emulation_message:
|
||||
message: https://www.home-assistant.io/tag/pulse
|
||||
include_android_app_record: false
|
||||
- tag.emulation_off: nfcc_pn7160
|
||||
- tag.emulation_on: nfcc_pn7160
|
||||
- tag.polling_off: nfcc_pn7160
|
||||
- tag.polling_on: nfcc_pn7160
|
||||
|
||||
spi:
|
||||
- id: spi_pn7160
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
pn7160_spi:
|
||||
id: nfcc_pn7160
|
||||
cs_pin: 12
|
||||
irq_pin: 14
|
||||
ven_pin: 13
|
||||
emulation_message: https://www.home-assistant.io/tag/pulse_ce
|
||||
tag_ttl: 1000ms
|
||||
on_tag:
|
||||
- logger.log: "Tag"
|
||||
on_tag_removed:
|
||||
- logger.log: "Tag removed"
|
||||
on_emulated_tag_scan:
|
||||
- logger.log: "Tag emulated"
|
Reference in New Issue
Block a user