1
0
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 (R) (#6219)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Keith Burzinski
2024-04-22 23:53:13 -05:00
committed by GitHub
parent eb89d99999
commit 7e5b100b77
91 changed files with 1632 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
i2c:
- id: i2c_rc522
scl: 5
sda: 4
rc522_i2c:
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94