Fix missing f-string prefix in prowl error message (#182362)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Yanze (David) Wu
2026-09-16 07:11:26 +02:00
committed by GitHub
co-authored by Claude Opus 5
parent b796adea21
commit 9a69397e71
+1 -1
View File
@@ -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