Multi conf for Teleinfo component (#3401)

This commit is contained in:
parats15 2022-04-20 02:46:55 +02:00 committed by GitHub
parent 0767b92b62
commit 988d3ea8ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@ from esphome.components import uart
from esphome.const import CONF_ID from esphome.const import CONF_ID
CODEOWNERS = ["@0hax"] CODEOWNERS = ["@0hax"]
MULTI_CONF = True
teleinfo_ns = cg.esphome_ns.namespace("teleinfo") teleinfo_ns = cg.esphome_ns.namespace("teleinfo")
TeleInfo = teleinfo_ns.class_("TeleInfo", cg.PollingComponent, uart.UARTDevice) TeleInfo = teleinfo_ns.class_("TeleInfo", cg.PollingComponent, uart.UARTDevice)