-
Notifications
You must be signed in to change notification settings - Fork 0
/
module.json
executable file
·132 lines (132 loc) · 4.15 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"singleton": false,
"category": "support_external_dev",
"author": "Poltorak Serguei, Z-Wave.Me",
"homepage": "https://github.com/PoltoS/YandexProbkiDriveTime",
"icon": "icon.png",
"moduleName":"YandexProbkiDriveTime",
"version":"1.0.2",
"maturity": "stable",
"repository": {
"type": "git",
"source": "https://github.com/PoltoS/YandexProbkiDriveTime"
},
"defaults": {
"title": "__m_title__",
"description": "__m_descr__",
"city": ""
},
"schema": {
"type": "object",
"properties": {
"lat1": {
"type": "number",
"required": true
},
"long1": {
"type": "number",
"required": true
},
"lat2": {
"type": "number",
"required": true
},
"long2": {
"type": "number",
"required": true
},
"greenMaxTime": {
"type": "number",
"required": true
},
"yellowMaxTime": {
"type": "number",
"required": true
},
"greenScene": {
"field": "enum",
"datasource": "namespaces",
"enum": "namespaces:devices_toggleButton:deviceId",
"required": false
},
"yellowScene": {
"field": "enum",
"datasource": "namespaces",
"enum": "namespaces:devices_toggleButton:deviceId",
"required": false
},
"redScene": {
"field": "enum",
"datasource": "namespaces",
"enum": "namespaces:devices_toggleButton:deviceId",
"required": false
},
"rgbDevice": {
"field": "enum",
"datasource": "namespaces",
"enum": "namespaces:devices_switchRGBW:deviceId",
"required": false
}
},
"required": true
},
"options": {
"fields": {
"lat1": {
"label": "__l_lat1__",
"placeholder": "__p_lat1__"
},
"long1": {
"label": "__l_long1__",
"placeholder": "__p_long1__"
},
"lat2": {
"label": "__l_lat2__",
"placeholder": "__p_lat2__"
},
"long2": {
"label": "__l_long2__",
"placeholder": "__p_long2__"
},
"greenMaxTime": {
"label": "__l_greenMaxTime__",
"helper": "__h_greenMaxTime__"
},
"yellowMaxTime": {
"label": "__l_yellowMaxTime__",
"helper": "__h_yellowMaxTime__"
},
"greenScene": {
"label": "__l_greenScene__",
"helper": "__h_greenScene__",
"type": "select",
"datasource": "namespaces",
"field": "optionLabels",
"optionLabels": "namespaces:devices_toggleButton:deviceName"
},
"yellowScene": {
"label": "__l_yellowScene__",
"helper": "__h_yellowScene__",
"type": "select",
"datasource": "namespaces",
"field": "optionLabels",
"optionLabels": "namespaces:devices_toggleButton:deviceName"
},
"redScene": {
"label": "__l_redScene__",
"helper": "__h_redScene__",
"type": "select",
"datasource": "namespaces",
"field": "optionLabels",
"optionLabels": "namespaces:devices_toggleButton:deviceName"
},
"rgbDevice": {
"label": "__l_rgbDevice__",
"type": "select",
"datasource": "namespaces",
"field": "optionLabels",
"optionLabels": "namespaces:devices_switchRGBW:deviceName"
}
}
}
}