mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add on_tag_removed trigger to pn532 (#1436)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -1968,6 +1968,12 @@ pn532_spi:
|
||||
- mqtt.publish:
|
||||
topic: the/topic
|
||||
payload: !lambda 'return x;'
|
||||
on_tag_removed:
|
||||
- lambda: |-
|
||||
ESP_LOGD("main", "Removed tag %s", x.c_str());
|
||||
- mqtt.publish:
|
||||
topic: the/topic
|
||||
payload: !lambda 'return x;'
|
||||
|
||||
pn532_i2c:
|
||||
|
||||
|
Reference in New Issue
Block a user