This commit is contained in:
Tomasz Duda 2024-10-01 14:50:34 +02:00
parent 930fcd9801
commit e8097f3bbd

View file

@ -10,7 +10,6 @@ from esphome.components.esp32.const import (
VARIANT_ESP32S2,
VARIANT_ESP32S3,
)
import esphome.final_validate as fv
CODEOWNERS = ["@tomaszduda23"]
CONF_USB_DEVICE_ID = "usb_device_id"
@ -38,6 +37,7 @@ CONFIG_SCHEMA = cv.All(
_validate_variant,
)
async def to_code(config):
var = cg.new_Pvariable(config[CONF_ID])
await cg.register_component(var, config)