ha_call_service
Call a Home Assistant service immediately to test automations or buttons, previewing the action first and executing only after confirmation.
Instructions
Call a Home Assistant service right now, e.g. to test what a key will do. Acts on the real home: call with confirm=false first and get the user's OK.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Extra service data. | |
| confirm | No | false: describe only; true: call it. | |
| service | Yes | domain.service, e.g. light.toggle. | |
| entity_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |