mirror of
https://github.com/esphome/esphome.git
synced 2024-12-27 07:51:43 +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_ESP32S2,
|
||||||
VARIANT_ESP32S3,
|
VARIANT_ESP32S3,
|
||||||
)
|
)
|
||||||
import esphome.final_validate as fv
|
|
||||||
|
|
||||||
CODEOWNERS = ["@tomaszduda23"]
|
CODEOWNERS = ["@tomaszduda23"]
|
||||||
CONF_USB_DEVICE_ID = "usb_device_id"
|
CONF_USB_DEVICE_ID = "usb_device_id"
|
||||||
|
@ -38,6 +37,7 @@ CONFIG_SCHEMA = cv.All(
|
||||||
_validate_variant,
|
_validate_variant,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
async def to_code(config):
|
async def to_code(config):
|
||||||
var = cg.new_Pvariable(config[CONF_ID])
|
var = cg.new_Pvariable(config[CONF_ID])
|
||||||
await cg.register_component(var, config)
|
await cg.register_component(var, config)
|
||||||
|
|
Loading…
Reference in a new issue