Allow the use of multiple RDM6300 devices (#3989)

This commit is contained in:
mbardeen 2022-11-03 02:25:09 -03:00 committed by GitHub
parent 0a649c184f
commit 04883e14f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,7 @@ from esphome.const import CONF_ID, CONF_ON_TAG, CONF_TRIGGER_ID
DEPENDENCIES = ["uart"] DEPENDENCIES = ["uart"]
AUTO_LOAD = ["binary_sensor"] AUTO_LOAD = ["binary_sensor"]
MULTI_CONF = True
rdm6300_ns = cg.esphome_ns.namespace("rdm6300") rdm6300_ns = cg.esphome_ns.namespace("rdm6300")
RDM6300Component = rdm6300_ns.class_("RDM6300Component", cg.Component, uart.UARTDevice) RDM6300Component = rdm6300_ns.class_("RDM6300Component", cg.Component, uart.UARTDevice)