mirror of
https://github.com/home-assistant/core.git
synced 2025-04-29 03:37:51 +00:00
Run ruff format for device registry (#118582)
This commit is contained in:
parent
f6800e6968
commit
32b51b8792
@ -815,7 +815,9 @@ class DeviceRegistry(BaseRegistry[dict[str, list[dict[str, Any]]]]):
|
||||
config_entries = old.config_entries
|
||||
|
||||
if merge_connections is not UNDEFINED and new_connections is not UNDEFINED:
|
||||
raise HomeAssistantError("Cannot define both merge_connections and new_connections")
|
||||
raise HomeAssistantError(
|
||||
"Cannot define both merge_connections and new_connections"
|
||||
)
|
||||
|
||||
if merge_identifiers is not UNDEFINED and new_identifiers is not UNDEFINED:
|
||||
raise HomeAssistantError
|
||||
|
Loading…
x
Reference in New Issue
Block a user