mirror of
https://github.com/esphome/esphome.git
synced 2025-01-15 00:45:57 +01:00
13 lines
362 B
Python
13 lines
362 B
Python
from esphome import automation
|
|
import esphome.codegen as cg
|
|
|
|
CODEOWNERS = ["@jesserockz", "@kbx81"]
|
|
|
|
nfc_ns = cg.esphome_ns.namespace("nfc")
|
|
|
|
Nfcc = nfc_ns.class_("Nfcc")
|
|
NfcTag = nfc_ns.class_("NfcTag")
|
|
NfcTagListener = nfc_ns.class_("NfcTagListener")
|
|
NfcOnTagTrigger = nfc_ns.class_(
|
|
"NfcOnTagTrigger", automation.Trigger.template(cg.std_string, NfcTag)
|
|
)
|