mirror of
https://github.com/home-assistant/core.git
synced 2026-09-26 01:11:51 -04:00
Fix missing f-string prefix in egauge error message (#182359)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
9a69397e71
commit
5dc13f3501
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user