service-call
A specialised action block that will call a service on your configured Home Assistant instance
Name | service-call |
---|---|
Type | Function |
Path | packages/blocks/src/building-blocks/service-call.ts |
Signature
serviceCall: (serviceConfig: {
name: string;
params: Omit<CallServiceCommand, "id" | "type">;
}) => Block
Parameters
Name | Type | Description |
---|---|---|
serviceConfig | {
name: string;
params: Omit<CallServiceCommand, "id" | "type">;
} |
Return Value
Block