Fix how function arguments are passed on actions at Home Connect (#134845)

This commit is contained in:
J. Diego Rodríguez Royo 2025-01-06 15:03:25 +01:00 committed by Franck Nijhof
parent 914c6459dc
commit fe1ce39831
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -168,7 +168,7 @@ async def _run_appliance_service[*_Ts](
error_translation_placeholders: dict[str, str],
) -> None:
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:
raise HomeAssistantError(
translation_domain=DOMAIN,