Add support for USB discovery (#54904)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
@@ -205,6 +205,14 @@ MANIFEST_SCHEMA = vol.Schema(
|
||||
}
|
||||
)
|
||||
],
|
||||
vol.Optional("usb"): [
|
||||
vol.Schema(
|
||||
{
|
||||
vol.Optional("vid"): vol.All(str, verify_uppercase),
|
||||
vol.Optional("pid"): vol.All(str, verify_uppercase),
|
||||
}
|
||||
)
|
||||
],
|
||||
vol.Required("documentation"): vol.All(
|
||||
vol.Url(), documentation_url # pylint: disable=no-value-for-parameter
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user