1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-11 14:29:58 +00:00

Run ruff format for device registry ()

This commit is contained in:
Jan-Philipp Benecke
2024-05-31 22:22:48 +02:00
committed by GitHub
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