-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzcl.levelcontrol.control.json
More file actions
30 lines (30 loc) · 1014 Bytes
/
zcl.levelcontrol.control.json
File metadata and controls
30 lines (30 loc) · 1014 Bytes
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
{
"id": "http://openinterconnect.org/zigbeemapping/schemas/zcl.levelcontrol.control.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description" : "Copyright (c) 2018 Open Connectivity Foundation, Inc. All rights reserved.",
"title": "Level Control Cluster - Control",
"definitions": {
"zcl.levelcontrol.control.moveto": {
"properties": {
"level": {
"type": "integer",
"description": "Move to certain dimming value as fast as possible ",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.light.dimming",
"x-from-ocf": [
"level=ocf.dimmingSetting * 254 /100 , transitiontime=0",
"zcl.command.levelcontrol::movetolevel(level,transitiontime)"
],
"x-to-ocf": [
"N/A"
]
}
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "#/definitions/zcl.levelcontrol.control.movetolevel"}
]
}