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 GitHub
parent 5ef06b1f33
commit 140ff50eaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,