diff --git a/homeassistant/components/melcloud_home/coordinator.py b/homeassistant/components/melcloud_home/coordinator.py index a055c731821a..006c0949b850 100644 --- a/homeassistant/components/melcloud_home/coordinator.py +++ b/homeassistant/components/melcloud_home/coordinator.py @@ -90,19 +90,16 @@ class MelCloudHomeCoordinator(DataUpdateCoordinator[UserContext]): raise UpdateFailed( translation_domain=DOMAIN, translation_key="invalid_auth", - translation_placeholders={"error": repr(err)}, ) from err except MelCloudHomeConnectionError as err: raise UpdateFailed( translation_domain=DOMAIN, translation_key="cannot_connect", - translation_placeholders={"error": repr(err)}, ) from err except MelCloudHomeTimeoutError as err: raise UpdateFailed( translation_domain=DOMAIN, translation_key="timeout_connect", - translation_placeholders={"error": repr(err)}, ) from err else: return data diff --git a/homeassistant/components/melcloud_home/strings.json b/homeassistant/components/melcloud_home/strings.json index d00bb32cd930..5c095a648d04 100644 --- a/homeassistant/components/melcloud_home/strings.json +++ b/homeassistant/components/melcloud_home/strings.json @@ -90,13 +90,13 @@ }, "exceptions": { "cannot_connect": { - "message": "Error communicating with MELCloud Home API: {error}" + "message": "Error communicating with MELCloud Home API" }, "invalid_auth": { - "message": "An error occurred while trying to authenticate: {error}" + "message": "An error occurred while trying to authenticate" }, "timeout_connect": { - "message": "Timeout while communicating with MELCloud Home API: {error}" + "message": "Timeout while communicating with MELCloud Home API" } } }