mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add known devices to USB Vendor / Product IDs (#54986)
Co-authored-by: kpine <keith.pine@gmail.com>
This commit is contained in:
@@ -33,7 +33,12 @@ def generate_and_validate(integrations: list[dict[str, str]]) -> str:
|
||||
continue
|
||||
|
||||
for entry in match_types:
|
||||
match_list.append({"domain": domain, **entry})
|
||||
match_list.append(
|
||||
{
|
||||
"domain": domain,
|
||||
**{k: v for k, v in entry.items() if k != "known_devices"},
|
||||
}
|
||||
)
|
||||
|
||||
return BASE.format(json.dumps(match_list, indent=4))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user