mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-22 05:43:28 +02:00
18 lines
296 B
C++
18 lines
296 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include "esphome/core/automation.h"
|
|
|
|
#include "nfc.h"
|
|
|
|
namespace esphome {
|
|
namespace nfc {
|
|
|
|
class NfcOnTagTrigger : public Trigger<std::string, NfcTag> {
|
|
public:
|
|
void process(const std::unique_ptr<NfcTag> &tag);
|
|
};
|
|
|
|
} // namespace nfc
|
|
} // namespace esphome
|