1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-04 04:12:23 +01:00

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

View File

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