shelly_virtual_add
Adds a virtual component (boolean, number, text, enum, button, or group) to a Shelly device, with optional config and ID, returning the new component ID.
Instructions
Add a virtual component of type (boolean/number/text/enum/button/group).
Optional config and id (200-299). Returns the new component id. Audit-logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| type | Yes | ||
| config | No | ||
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||