mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Allow multiple pn532_spi entries (#2489)
This commit is contained in:
parent
c33077bc61
commit
4406a08fa7
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue