Add NFC binary sensor platform (#6068)

This commit is contained in:
Keith Burzinski
2024-01-16 02:05:13 -06:00
committed by GitHub
parent 26acbbedbf
commit e35cab018a
13 changed files with 271 additions and 7 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ CONF_TAG_TTL = "tag_ttl"
CONF_VEN_PIN = "ven_pin"
pn7150_ns = cg.esphome_ns.namespace("pn7150")
PN7150 = pn7150_ns.class_("PN7150", cg.Component)
PN7150 = pn7150_ns.class_("PN7150", nfc.Nfcc, cg.Component)
EmulationOffAction = pn7150_ns.class_("EmulationOffAction", automation.Action)
EmulationOnAction = pn7150_ns.class_("EmulationOnAction", automation.Action)