-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule.json
More file actions
99 lines (99 loc) · 2.76 KB
/
module.json
File metadata and controls
99 lines (99 loc) · 2.76 KB
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
{
"author" : "Maroš Kollár",
"category" : "device_enhancements",
"defaults" : {
"delay" : 0,
"description" : "__m_descr__",
"devices" : [],
"sensors" : [],
"timeout" : 30,
"title" : "__m_title__"
},
"dependencies" : [
"BaseModule"
],
"homepage" : "https://github.com/maros/Zway-AutoOffInactive/",
"icon" : "icon.png",
"maturity" : "stable",
"moduleName" : "AutoOffInactive",
"options" : {
"fields" : {
"delay" : {
"helper" : "__delay_helper__",
"label" : "__delay_label__",
"order" : 4
},
"devices" : {
"fields" : {
"item" : {
"datasource" : "namespaces",
"field" : "optionLabels",
"optionLabels" : "namespaces:devices_switchBinary:deviceName,namespaces:devices_switchMultilevel:deviceName",
"type" : "select"
}
},
"helper" : "__switch_helper__",
"label" : "__switch_label__",
"order" : 2
},
"sensors" : {
"fields" : {
"item" : {
"datasource" : "namespaces",
"field" : "optionLabels",
"optionLabels" : "namespaces:devices_sensorBinary:deviceName",
"type" : "select"
}
},
"helper" : "__sensors_helper__",
"label" : "__sensors_label__",
"order" : 1
},
"timeout" : {
"helper" : "__timeout_helper__",
"label" : "__timeout_label__",
"order" : 3
}
}
},
"repository" : {
"source" : "https://github.com/maros/Zway-AutoOffInactive",
"type" : "git"
},
"schema" : {
"properties" : {
"delay" : {
"required" : true,
"type" : "number"
},
"devices" : {
"items" : {
"datasource" : "namespaces",
"enum" : "namespaces:devices_switchBinary:deviceId,namespaces:devices_switchMultilevel:deviceId",
"field" : "enum",
"required" : true
},
"minItems" : 1,
"type" : "array"
},
"sensors" : {
"items" : {
"datasource" : "namespaces",
"enum" : "namespaces:devices_sensorBinary:deviceId",
"field" : "enum",
"required" : true
},
"minItems" : 1,
"type" : "array"
},
"timeout" : {
"required" : true,
"type" : "number"
}
},
"required" : true,
"type" : "object"
},
"singleton" : false,
"version" : "1.04"
}