-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzcl.colorcontrol_hs.control.json
More file actions
44 lines (44 loc) · 1.72 KB
/
zcl.colorcontrol_hs.control.json
File metadata and controls
44 lines (44 loc) · 1.72 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
{
"id": "http://openinterconnect.org/zigbeemapping/schemas/zcl.colorcontrol_hs.control.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description" : "Copyright (c) 2018 Open Connectivity Foundation, Inc. All rights reserved.",
"title": "Color Control Cluster - Hue and Saturation - Control",
"definitions": {
"zcl.colorcontrol_hs.control.movetohueandsaturation": {
"properties": {
"hue": {
"type": "integer",
"description": "Move to certain value(s) of hue or saturation or both as fast as possible with transitiontime=0. transitiontime is set by Zigbee 3.0 translator.",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.colour.hs",
"x-from-ocf": [
"hue=ocf.hue/360 * 254 & transitiontime=0",
"zcl.command.colorcontrol::movetohueandsaturation(hue,saturation,transitiontime)"
],
"x-to-ocf": [
"N/A"
]
}
},
"saturation": {
"type": "integer",
"description": "Move to certain value(s) of hue or saturation or both as fast as possible with transitiontime=0. transitiontime is set by Zigbee 3.0 translator.",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.colour.hs",
"x-from-ocf": [
"saturation=ocf.saturation & transitiontime=0",
"zcl.command.colorcontrol::movetohueandsaturation(hue,saturation,transitiontime)"
],
"x-to-ocf": [
"N/A"
]
}
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "#/definitions/zcl.colorcontrol_hs.control.movetohueandsaturation"}
]
}