From 5dc13f35017e7df0dba66ff9e7c9cb25c27bc0b1 Mon Sep 17 00:00:00 2001 From: "Yanze (David) Wu" <133224895+David-Wu1119@users.noreply.github.com> Date: Tue, 15 Sep 2026 22:12:08 -0700 Subject: [PATCH] Fix missing f-string prefix in egauge error message (#182359) Co-authored-by: Claude Opus 5 --- homeassistant/components/egauge/coordinator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/egauge/coordinator.py b/homeassistant/components/egauge/coordinator.py index e6077a692f2b..956f4335113d 100644 --- a/homeassistant/components/egauge/coordinator.py +++ b/homeassistant/components/egauge/coordinator.py @@ -98,7 +98,7 @@ class EgaugeDataCoordinator(DataUpdateCoordinator[EgaugeData]): EgaugeException, ) as err: # will raise ConfigEntryAuthFailed once reauth is implemented - raise ConfigEntryError("Error fetching device info: {err}") from err + raise ConfigEntryError(f"Error fetching device info: {err}") from err except ConnectError as err: raise UpdateFailed(f"Error fetching device info: {err}") from err