mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 12:06:26 +01:00
Allow multiple pn532_spi entries (#2489)
This commit is contained in:
parent
c33077bc61
commit
4406a08fa7
@ -6,6 +6,7 @@ from esphome.const import CONF_ID
|
||||
AUTO_LOAD = ["pn532"]
|
||||
CODEOWNERS = ["@OttoWinter", "@jesserockz"]
|
||||
DEPENDENCIES = ["spi"]
|
||||
MULTI_CONF = True
|
||||
|
||||
pn532_spi_ns = cg.esphome_ns.namespace("pn532_spi")
|
||||
PN532Spi = pn532_spi_ns.class_("PN532Spi", pn532.PN532, spi.SPIDevice)
|
||||
|
Loading…
Reference in New Issue
Block a user