i-call-service-params

Parameters for calling Home Assistant services

Name i-call-service-params
Type Interface
Path packages/blocks/src/types/i-call-service-params.ts

Properties

Name Type Description
data Record<string, unknown> Any additional data specific to the individual service call
domain string The service domain (e.g. 'light')
service string The service action (e.g. 'turn_on')
target { entity_id?: string | string[]; area_id?: string | string[]; device_id?: string | string[]; } The target of the service call