mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 15:34:53 +01:00
fix
This commit is contained in:
parent
930fcd9801
commit
e8097f3bbd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue