tuya_send_command
Send custom commands to Tuya smart devices by device ID or name. Provide a JSON string of commands to control device functions directly.
Instructions
Send custom commands to a Tuya device by device_id or name (e.g. 'Living Room Light'). commands must be a JSON string like: [{"code": "switch_1", "value": true}]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | ||
| device_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |