mirror of
https://github.com/esphome/esphome.git
synced 2024-12-30 01:11:44 +01:00
f6848fe24d
* Initial changes to support testing of additional framework versions * Rename Arduino test files
35 lines
941 B
YAML
35 lines
941 B
YAML
esphome:
|
|
on_boot:
|
|
then:
|
|
- tag.set_clean_mode: nfcc_pn7150
|
|
- tag.set_format_mode: nfcc_pn7150
|
|
- tag.set_read_mode: nfcc_pn7150
|
|
- tag.set_write_message:
|
|
message: https://www.home-assistant.io/tag/pulse
|
|
include_android_app_record: false
|
|
- tag.set_write_mode: nfcc_pn7150
|
|
- tag.set_emulation_message:
|
|
message: https://www.home-assistant.io/tag/pulse
|
|
include_android_app_record: false
|
|
- tag.emulation_off: nfcc_pn7150
|
|
- tag.emulation_on: nfcc_pn7150
|
|
- tag.polling_off: nfcc_pn7150
|
|
- tag.polling_on: nfcc_pn7150
|
|
|
|
i2c:
|
|
- id: i2c_pn7150
|
|
scl: 5
|
|
sda: 4
|
|
|
|
pn7150_i2c:
|
|
id: nfcc_pn7150
|
|
irq_pin: 12
|
|
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"
|