-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmodule.json
51 lines (51 loc) · 1.33 KB
/
module.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"singleton": false,
"dependencies": [],
"category": "automation",
"author": "Jens Troest",
"homepage": "https://github.com/jensmoes/Niffler",
"icon": "",
"moduleName": "Niffler",
"version": "1.0.2",
"maturity": "stable",
"repository": {
"type": "git",
"source": "https://github.com/jensmoes/Niffler"
},
"defaults": {
"title": "__m_title__",
"description": "__m_descr__",
"sourceDevices": []
},
"schema": {
"type": "object",
"properties": {
"sourceDevices": {
"type": "array",
"items": {
"field": "enum",
"datasource": "namespaces",
"enum": "namespaces:devices_switchControl:deviceId,namespaces:devices_switchBinary:deviceId,namespaces:devices_switchMultilevel:deviceId,namespaces:devices_doorlock:deviceId",
"required": true
}
}
},
"required": false
},
"options": {
"fields": {
"sourceDevices": {
"label": "__l_sourceDevices__",
"helper": "__h_sourceDevices__",
"fields": {
"item": {
"type": "select",
"datasource": "namespaces",
"field": "optionLabels",
"optionLabels": "namespaces:devices_switchControl:deviceName,namespaces:devices_switchBinary:deviceName,namespaces:devices_switchMultilevel:deviceName,namespaces:devices_doorlock:deviceName"
}
}
}
}
}
}