ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
nfc
automation.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include "
esphome/core/automation.h
"
5
6
#include "
nfc.h
"
7
8
namespace
esphome::nfc
{
9
11
class
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
esphome::Trigger
Definition
automation.h:551
esphome::nfc::NfcOnTagTrigger
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
esphome::nfc::NfcOnTagTrigger::process
void process(const std::unique_ptr< NfcTag > &tag)
Definition
automation.cpp:6
automation.h
esphome::nfc
Definition
automation.cpp:4
nfc.h
Generated by
1.12.0