improved meta data of script action

Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Kai Kreuzer 2016-04-05 13:10:11 +02:00
Родитель c781e9dd61
Коммит 6e5158eb56
1 изменённых файлов: 13 добавлений и 2 удалений

Просмотреть файл

@ -30,13 +30,24 @@
"name":"type",
"type":"TEXT",
"description":"the scripting language to use (like in a file extension, i.e. 'js')",
"required":true
"required":true,
"options":[
{
"label": "Javascript",
"value": "js"
},
{
"label": "Jython",
"value": "jy"
}
]
},
{
"name":"script",
"type":"TEXT",
"description":"the script to execute",
"required":true
"required":true,
"context":"script"
}
],
"outputs":[