send_command
Send a one-off command to a device. Use dry run to preview the action; disable dry run to execute the command.
Instructions
Fire a one-off command at a device (entity). Transient (does not change saved config) but affects the device, so defaults to dry_run=True. Set dry_run=false to actually send. Body: PUT /entities/{id}/command {cmd_id, params?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| params | No | ||
| command | Yes | ||
| dry_run | No | ||
| device_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||