diff --git a/src/homeAssistant/Websocket.ts b/src/homeAssistant/Websocket.ts index 67a943e3c6..3fc98d9044 100644 --- a/src/homeAssistant/Websocket.ts +++ b/src/homeAssistant/Websocket.ts @@ -732,8 +732,8 @@ export default class Websocket { type: 'call_service', domain, service, - // Merging target data with service data because the service call validation will change entity_id from a string to an array and not all services support that - service_data: { ...data, ...target }, + service_data: data, + target, return_response: returnResponse, };