From 32b51b87924dfa3a96f4d14beecbf12b73036d27 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Fri, 31 May 2024 22:22:48 +0200 Subject: [PATCH] Run ruff format for device registry (#118582) --- homeassistant/helpers/device_registry.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/helpers/device_registry.py b/homeassistant/helpers/device_registry.py index 1f147a1884d..cb336d1455b 100644 --- a/homeassistant/helpers/device_registry.py +++ b/homeassistant/helpers/device_registry.py @@ -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