-
Notifications
You must be signed in to change notification settings - Fork 0
/
module.json
75 lines (75 loc) · 1.94 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
{
"author" : "Maroš Kollár",
"category" : "device_enhancements",
"defaults" : {
"description" : "__m_descr__",
"devices" : [],
"summary" : "average",
"title" : "__m_title__"
},
"dependencies" : [],
"homepage" : "https://github.com/maros/Zway-SummarySensor/",
"icon" : "icon.png",
"maturity" : "stable",
"moduleName" : "SummarySensor",
"options" : {
"fields" : {
"devices" : {
"fields" : {
"item" : {
"datasource" : "namespaces",
"field" : "devices",
"optionLabels" : "namespaces:devices_sensorMultilevel:deviceName",
"type" : "select"
}
},
"label" : "__devices_label__",
"order" : 2
},
"summary" : {
"label" : "__summary_label__",
"optionLabels" : [
"__summary_average__",
"__summary_min__",
"__summary_max__",
"__summary_count__",
"__summary_sum__"
],
"order" : 1
}
}
},
"repository" : {
"source" : "https://github.com/maros/Zway-SummarySensor",
"type" : "git"
},
"schema" : {
"properties" : {
"devices" : {
"items" : {
"datasource" : "namespaces",
"enum" : "namespaces:devices_sensorMultilevel:deviceId",
"field" : "enum",
"required" : true
},
"minItems" : 2,
"type" : "array",
"uniqueItems" : true
},
"summary" : {
"enum" : [
"average",
"min",
"max",
"count",
"sum"
],
"required" : true,
"type" : "select"
}
},
"type" : "object"
},
"singleton" : false,
"version" : "1.06"
}