Alphabetize parts of device registry code (#57532)
This commit is contained in:
parent
c4f8c52df9
commit
bdbedd0f06
4 changed files with 66 additions and 66 deletions
|
@ -461,17 +461,17 @@ class EntityPlatform:
|
|||
processed_dev_info = {"config_entry_id": config_entry_id}
|
||||
for key in (
|
||||
"connections",
|
||||
"default_manufacturer",
|
||||
"default_model",
|
||||
"default_name",
|
||||
"entry_type",
|
||||
"identifiers",
|
||||
"manufacturer",
|
||||
"model",
|
||||
"name",
|
||||
"default_manufacturer",
|
||||
"default_model",
|
||||
"default_name",
|
||||
"sw_version",
|
||||
"entry_type",
|
||||
"via_device",
|
||||
"suggested_area",
|
||||
"sw_version",
|
||||
"via_device",
|
||||
):
|
||||
if key in device_info:
|
||||
processed_dev_info[key] = device_info[key] # type: ignore[misc]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue