mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Remove non-translated string from exceptions in devolo Home Network (#131606)
This commit is contained in:
parent
0a16595a15
commit
1539558935
@ -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]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user