call-service-command
Websocket command to call a Home Assistant service
Name | call-service-command |
---|---|
Type | Interface |
Path | packages/hass-ts/src/lib/core/websocket-client/messages/call-service-command.ts |
Properties
Name | Type | Description |
---|---|---|
domain | string | |
return_response | boolean | |
service_data | Record<string, unknown> | |
service | string | |
target | {
entity_id?: string | string[];
area_id?: string | string[];
device_id?: string | string[];
} | |
type | 'call_service' | |