1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Allow RC522 components to have multiple configurations (#1782)

This commit is contained in:
Jesse Hills
2021-05-15 17:02:52 +12:00
committed by GitHub
parent 3d6dcc9eee
commit 7e3b8fd346
4 changed files with 11 additions and 6 deletions

View File

@@ -1982,10 +1982,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