Remove non-translated string from exceptions in devolo Home Network (#131606)

This commit is contained in:
Guido Schmitz 2024-11-26 10:32:35 +01:00 committed by GitHub
parent 0a16595a15
commit 1539558935
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,7 +83,6 @@ async def async_setup_entry(
)
except DeviceNotFound as err:
raise ConfigEntryNotReady(
f"Unable to connect to {entry.data[CONF_IP_ADDRESS]}",
translation_domain=DOMAIN,
translation_key="connection_failed",
translation_placeholders={"ip_address": entry.data[CONF_IP_ADDRESS]},
@ -131,7 +130,7 @@ async def async_setup_entry(
) from err
except DevicePasswordProtected as err:
raise ConfigEntryAuthFailed(
err, translation_domain=DOMAIN, translation_key="password_wrong"
translation_domain=DOMAIN, translation_key="password_wrong"
) from err
async def async_update_led_status() -> bool:
@ -161,7 +160,7 @@ async def async_setup_entry(
) from err
except DevicePasswordProtected as err:
raise ConfigEntryAuthFailed(
err, translation_domain=DOMAIN, translation_key="password_wrong"
translation_domain=DOMAIN, translation_key="password_wrong"
) from err
async def async_update_wifi_connected_station() -> list[ConnectedStationInfo]: