mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Fix how function arguments are passed on actions at Home Connect (#134845)
This commit is contained in:
parent
5ef06b1f33
commit
140ff50eaf
@ -168,7 +168,7 @@ async def _run_appliance_service[*_Ts](
|
|||||||
error_translation_placeholders: dict[str, str],
|
error_translation_placeholders: dict[str, str],
|
||||||
) -> None:
|
) -> None:
|
||||||
try:
|
try:
|
||||||
await hass.async_add_executor_job(getattr(appliance, method), args)
|
await hass.async_add_executor_job(getattr(appliance, method), *args)
|
||||||
except api.HomeConnectError as err:
|
except api.HomeConnectError as err:
|
||||||
raise HomeAssistantError(
|
raise HomeAssistantError(
|
||||||
translation_domain=DOMAIN,
|
translation_domain=DOMAIN,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user