From 0319ac233a03cf7da578763c4c2cdd820570bb30 Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Tue, 1 Oct 2024 14:50:56 +0200 Subject: [PATCH] fix --- esphome/components/usb_device/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/usb_device/__init__.py b/esphome/components/usb_device/__init__.py index 88ed5e71d3..3ffedbbf0d 100644 --- a/esphome/components/usb_device/__init__.py +++ b/esphome/components/usb_device/__init__.py @@ -21,6 +21,7 @@ def _validate_variant(value): raise cv.Invalid(f"USB device is unsupported by ESP32 variant {variant}") return value + CONF_USB_DEVICE = "usb_device" usb_device_ns = cg.esphome_ns.namespace(CONF_USB_DEVICE)