From 9a69397e7123c5ec7c55af6436686f6286df08c0 Mon Sep 17 00:00:00 2001 From: "Yanze (David) Wu" <133224895+David-Wu1119@users.noreply.github.com> Date: Tue, 15 Sep 2026 22:11:26 -0700 Subject: [PATCH] Fix missing f-string prefix in prowl error message (#182362) Co-authored-by: Claude Opus 5 --- homeassistant/components/prowl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/prowl/__init__.py b/homeassistant/components/prowl/__init__.py index 4f744e25bf7d..7bfe8bafdb43 100644 --- a/homeassistant/components/prowl/__init__.py +++ b/homeassistant/components/prowl/__init__.py @@ -30,7 +30,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: except prowlpy.APIError as ex: if str(ex).startswith("Not accepted: exceeded rate limit"): raise ConfigEntryNotReady("Prowl API rate limit exceeded") from ex - raise ConfigEntryError("Failed to validate Prowl API key ({ex})") from ex + raise ConfigEntryError(f"Failed to validate Prowl API key ({ex})") from ex await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) return True