From 3dc80136e788eb6b985a689e9dffd32308bd6b82 Mon Sep 17 00:00:00 2001 From: "Yanze (David) Wu" <133224895+David-Wu1119@users.noreply.github.com> Date: Tue, 15 Sep 2026 20:34:43 -0700 Subject: [PATCH] Fix missing f-string prefix in local_todo error message (#182361) Co-authored-by: Claude Opus 5 --- homeassistant/components/local_todo/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/local_todo/__init__.py b/homeassistant/components/local_todo/__init__.py index d4eaa0de3fc8..c1c87e70f72f 100644 --- a/homeassistant/components/local_todo/__init__.py +++ b/homeassistant/components/local_todo/__init__.py @@ -25,7 +25,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: LocalTodoConfigEntry) -> try: await store.async_load() except OSError as err: - raise ConfigEntryNotReady("Failed to load file {path}: {err}") from err + raise ConfigEntryNotReady(f"Failed to load file {path}: {err}") from err entry.runtime_data = store