1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Allow RC522 components to have multiple configurations (#1782)

This commit is contained in:
Jesse Hills
2021-05-15 17:02:52 +12:00
parent fddb05c845
commit 030c87d142
4 changed files with 11 additions and 6 deletions

View File

@@ -1978,10 +1978,15 @@ rc522_spi:
ESP_LOGD("main", "Found tag %s", x.c_str());
rc522_i2c:
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
- update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
- update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
gps:
uart_id: uart0