mirror of
https://github.com/esphome/esphome.git
synced 2025-02-16 01:48:14 +00: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
|