This commit is contained in:
Tomasz Duda 2024-10-01 14:50:56 +02:00
parent e8097f3bbd
commit 0319ac233a

View file

@ -21,6 +21,7 @@ def _validate_variant(value):
raise cv.Invalid(f"USB device is unsupported by ESP32 variant {variant}") raise cv.Invalid(f"USB device is unsupported by ESP32 variant {variant}")
return value return value
CONF_USB_DEVICE = "usb_device" CONF_USB_DEVICE = "usb_device"
usb_device_ns = cg.esphome_ns.namespace(CONF_USB_DEVICE) usb_device_ns = cg.esphome_ns.namespace(CONF_USB_DEVICE)