forked from hongtat/smartthings-capabilities
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgasConsumptionReport.json
49 lines (49 loc) · 1.45 KB
/
gasConsumptionReport.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
{
"id": "gasConsumptionReport",
"version": 1,
"status": "proposed",
"name": "Gas Consumption Report",
"ephemeral": false,
"attributes": {
"gasConsumption": {
"schema": {
"type": "object",
"properties": {
"value": {
"type": "object",
"properties": {
"deltaUsage": {
"type": "number"
},
"usageSaved": {
"type": "number"
},
"cumulativeUsage": {
"type": "number"
}
},
"required": [
"deltaUsage"
]
},
"unit": {
"type": "string",
"enum": [
"Wh",
"m^3",
"cf",
"MJ"
],
"default": "Wh"
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"enumCommands": []
}
},
"commands": {}
}