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