Name | Value | Description |
---|---|---|
description | string | Script description Is shown in the script selection list. |
tag | item or import-script |
Tag name that will be added to xml file Item will be added with type=”script” attribute |
target | string (script variable name) | Get the value for id attribute of inserted script from id attribute selected from the device list |
selectArea | true or false | List of rooms. The script will be added to the selected room. |
addItems | array of objects or single object | List of variable configuration for web-form that will be added to the script as attributes |
vars | array of objects or arrays | List of variable configuration for web-form that will be added to the script as attributes |
name | line | Device name. The value of “name” attribute in “item” tag or “import-script” tag. . |