shelly_script_create
Create an empty script on a Shelly device, returning its ID. The script is ready for code via a follow-up step.
Instructions
Create an empty script (optionally named). Returns its id. Audit-logged.
Use shelly_script_put_code to give it code (that step is confirm-gated).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||