forked from hongtat/smartthings-capabilities
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.firmwareVersion.json
executable file
·38 lines (38 loc) · 1.23 KB
/
custom.firmwareVersion.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
{
"id": "custom.firmwareVersion",
"version": 1,
"status": "proposed",
"name": "Firmware Version",
"attributes": {
"updatedTime": {
"schema": {
"type": "object",
"properties": {
"value": {
"pattern": "^(?:[1-9]\\d{3}-?(?:(?:0[1-9]|1[0-2])-?(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-?(?:29|30)|(?:0[13578]|1[02])-?31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-?02-?29)T(?:[01]\\d|2[0-3]):?[0-5]\\d:?[0-5]\\d(?:\\.\\d{3})?(?:Z|[+-][01]\\d(?::?[0-5]\\d)?)$",
"type": "string"
}
},
"additionalProperties": false,
"required": []
},
"enumCommands": []
},
"firmwareVersion": {
"schema": {
"type": "object",
"properties": {
"value": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"enumCommands": []
}
},
"commands": []
}