ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
automation.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
5
6#include "nfc.h"
7
8namespace esphome::nfc {
9
11class NfcOnTagTrigger final : public Trigger<std::string, const NfcTag &> {
12 public:
13 void process(const std::unique_ptr<NfcTag> &tag);
14};
15
16} // namespace esphome::nfc
Fires with the formatted UID and the tag itself; the tag is passed by reference so no copy is made pe...
Definition automation.h:11
void process(const std::unique_ptr< NfcTag > &tag)
Definition automation.cpp:6