Fix error messaging for cascading service calls (#136966)

This commit is contained in:
Abílio Costa
2025-01-31 10:10:57 +00:00
committed by GitHub
parent ab5583ed40
commit 3fb70316da
2 changed files with 8 additions and 8 deletions

View File

@ -275,10 +275,10 @@ async def handle_call_service(
translation_domain=const.DOMAIN,
translation_key="child_service_not_found",
translation_placeholders={
"domain": err.domain,
"service": err.service,
"child_domain": msg["domain"],
"child_service": msg["service"],
"domain": msg["domain"],
"service": msg["service"],
"child_domain": err.domain,
"child_service": err.service,
},
)
except vol.Invalid as err: