tuya_turn_off_device
Turn off a Tuya smart device by its ID or name. For multi-switch devices, specify the switch_code (e.g., switch_1) to control a specific switch.
Instructions
Turn off a Tuya device by device_id or name (e.g. 'Living Room Light'). For devices with multiple switches, specify switch_code (switch_1, switch_2, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | ||
| switch_code | No | switch_1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |