mirror of
https://github.com/esphome/esphome.git
synced 2025-10-04 11:02:19 +01:00
Allow RC522 components to have multiple configurations (#1782)
This commit is contained in:
@@ -6,6 +6,7 @@ from esphome.const import CONF_ID
|
||||
CODEOWNERS = ["@glmnet"]
|
||||
DEPENDENCIES = ["spi"]
|
||||
AUTO_LOAD = ["rc522"]
|
||||
MULTI_CONF = True
|
||||
|
||||
rc522_spi_ns = cg.esphome_ns.namespace("rc522_spi")
|
||||
RC522Spi = rc522_spi_ns.class_("RC522Spi", rc522.RC522, spi.SPIDevice)
|
||||
|
Reference in New Issue
Block a user