shelly_script_create
Create an empty script (optionally named) and get its id. Then use shelly_script_put_code to add code; that step is confirm-gated.
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 | |||