mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 06:17:07 +00:00
Fix startup block from Swiss public transport (#123704)
This commit is contained in:
parent
26a69458b0
commit
200f04bf21
@ -58,7 +58,7 @@ async def async_setup_entry(
|
|||||||
translation_key="request_timeout",
|
translation_key="request_timeout",
|
||||||
translation_placeholders={
|
translation_placeholders={
|
||||||
"config_title": entry.title,
|
"config_title": entry.title,
|
||||||
"error": e,
|
"error": str(e),
|
||||||
},
|
},
|
||||||
) from e
|
) from e
|
||||||
except OpendataTransportError as e:
|
except OpendataTransportError as e:
|
||||||
@ -68,7 +68,7 @@ async def async_setup_entry(
|
|||||||
translation_placeholders={
|
translation_placeholders={
|
||||||
**PLACEHOLDERS,
|
**PLACEHOLDERS,
|
||||||
"config_title": entry.title,
|
"config_title": entry.title,
|
||||||
"error": e,
|
"error": str(e),
|
||||||
},
|
},
|
||||||
) from e
|
) from e
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user