Limit USB discovery to specific manufacturer/description/serial_number matches (#55236)
* Limit USB discovery to specific manufacturer/description/serial_number matches * test for None case
This commit is contained in:
@@ -210,6 +210,9 @@ MANIFEST_SCHEMA = vol.Schema(
|
||||
{
|
||||
vol.Optional("vid"): vol.All(str, verify_uppercase),
|
||||
vol.Optional("pid"): vol.All(str, verify_uppercase),
|
||||
vol.Optional("serial_number"): vol.All(str, verify_lowercase),
|
||||
vol.Optional("manufacturer"): vol.All(str, verify_lowercase),
|
||||
vol.Optional("description"): vol.All(str, verify_lowercase),
|
||||
vol.Optional("known_devices"): [str],
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user