call-service-response

Response from the websocket API when a service is called

Name call-service-response
Type Interface
Path packages/hass-ts/src/lib/core/websocket-client/messages/call-service-response.ts

Properties

Name Type Description
context { id: string; parent_id: null | string; user_id: string; } The Home Assistant context (See )
response null | Record<string, unknown> Response data from the service action. Always present, but will be if the action does not support response data