@zwave-js/cc 10.14.0 → 10.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cc/AlarmSensorCC.d.ts +34 -34
- package/build/cc/AssociationCC.d.ts +18 -18
- package/build/cc/AssociationGroupInfoCC.d.ts +27 -27
- package/build/cc/BarrierOperatorCC.d.ts +11 -11
- package/build/cc/BasicCC.d.ts +1 -1
- package/build/cc/BatteryCC.d.ts +10 -10
- package/build/cc/BinarySensorCC.d.ts +9 -9
- package/build/cc/BinarySwitchCC.d.ts +1 -1
- package/build/cc/BinarySwitchCC.d.ts.map +1 -1
- package/build/cc/BinarySwitchCC.js +1 -1
- package/build/cc/BinarySwitchCC.js.map +1 -1
- package/build/cc/CentralSceneCC.d.ts +11 -11
- package/build/cc/ClimateControlScheduleCC.d.ts +10 -10
- package/build/cc/ClimateControlScheduleCC.js +6 -6
- package/build/cc/ClockCC.d.ts +1 -1
- package/build/cc/ColorSwitchCC.d.ts +22 -22
- package/build/cc/ColorSwitchCC.js +5 -5
- package/build/cc/ConfigurationCC.d.ts +21 -18
- package/build/cc/ConfigurationCC.d.ts.map +1 -1
- package/build/cc/ConfigurationCC.js +32 -26
- package/build/cc/ConfigurationCC.js.map +1 -1
- package/build/cc/DoorLockCC.d.ts +8 -8
- package/build/cc/EnergyProductionCC.d.ts +67 -0
- package/build/cc/EnergyProductionCC.d.ts.map +1 -0
- package/build/cc/EnergyProductionCC.js +179 -0
- package/build/cc/EnergyProductionCC.js.map +1 -0
- package/build/cc/HumidityControlSetpointCC.d.ts +22 -22
- package/build/cc/IndicatorCC.d.ts +30 -30
- package/build/cc/IrrigationCC.d.ts +177 -177
- package/build/cc/ManufacturerSpecificCC.d.ts +14 -14
- package/build/cc/MeterCC.d.ts +22 -22
- package/build/cc/MeterCC.d.ts.map +1 -1
- package/build/cc/MeterCC.js +6 -1
- package/build/cc/MeterCC.js.map +1 -1
- package/build/cc/MultiChannelAssociationCC.d.ts +28 -28
- package/build/cc/MultiChannelCC.d.ts +9 -9
- package/build/cc/MultilevelSensorCC.d.ts +18 -18
- package/build/cc/MultilevelSwitchCC.d.ts +19 -19
- package/build/cc/NodeNamingCC.d.ts +2 -2
- package/build/cc/NotificationCC.d.ts +54 -53
- package/build/cc/NotificationCC.d.ts.map +1 -1
- package/build/cc/NotificationCC.js +21 -0
- package/build/cc/NotificationCC.js.map +1 -1
- package/build/cc/ProtectionCC.d.ts +3 -3
- package/build/cc/SceneActivationCC.d.ts +1 -1
- package/build/cc/SceneActuatorConfigurationCC.d.ts +21 -21
- package/build/cc/SceneActuatorConfigurationCC.d.ts.map +1 -1
- package/build/cc/SceneActuatorConfigurationCC.js +1 -2
- package/build/cc/SceneActuatorConfigurationCC.js.map +1 -1
- package/build/cc/SceneControllerConfigurationCC.d.ts +21 -21
- package/build/cc/SceneControllerConfigurationCC.d.ts.map +1 -1
- package/build/cc/SceneControllerConfigurationCC.js +3 -4
- package/build/cc/SceneControllerConfigurationCC.js.map +1 -1
- package/build/cc/Security2CC.d.ts +1 -0
- package/build/cc/Security2CC.d.ts.map +1 -1
- package/build/cc/Security2CC.js +29 -7
- package/build/cc/Security2CC.js.map +1 -1
- package/build/cc/SecurityCC.d.ts +9 -5
- package/build/cc/SecurityCC.d.ts.map +1 -1
- package/build/cc/SecurityCC.js +36 -17
- package/build/cc/SecurityCC.js.map +1 -1
- package/build/cc/SoundSwitchCC.d.ts +1 -1
- package/build/cc/SupervisionCC.d.ts +11 -10
- package/build/cc/SupervisionCC.d.ts.map +1 -1
- package/build/cc/SupervisionCC.js +13 -0
- package/build/cc/SupervisionCC.js.map +1 -1
- package/build/cc/ThermostatFanModeCC.d.ts +2 -2
- package/build/cc/ThermostatSetbackCC.js +3 -3
- package/build/cc/ThermostatSetpointCC.d.ts +20 -20
- package/build/cc/TimeCC.d.ts +1 -1
- package/build/cc/UserCodeCC.d.ts +22 -22
- package/build/cc/VersionCC.d.ts +24 -15
- package/build/cc/VersionCC.d.ts.map +1 -1
- package/build/cc/VersionCC.js +133 -10
- package/build/cc/VersionCC.js.map +1 -1
- package/build/cc/WakeUpCC.d.ts +2 -2
- package/build/cc/WindowCoveringCC.d.ts +347 -0
- package/build/cc/WindowCoveringCC.d.ts.map +1 -0
- package/build/cc/WindowCoveringCC.js +638 -0
- package/build/cc/WindowCoveringCC.js.map +1 -0
- package/build/cc/ZWavePlusCC.d.ts +1 -1
- package/build/cc/ZWavePlusCC.d.ts.map +1 -1
- package/build/cc/ZWavePlusCC.js +34 -0
- package/build/cc/ZWavePlusCC.js.map +1 -1
- package/build/cc/index.d.ts +2 -0
- package/build/cc/index.d.ts.map +1 -1
- package/build/cc/index.js +24 -9
- package/build/cc/index.js.map +1 -1
- package/build/lib/API.d.ts +4 -0
- package/build/lib/API.d.ts.map +1 -1
- package/build/lib/API.js.map +1 -1
- package/build/lib/CommandClass.d.ts.map +1 -1
- package/build/lib/CommandClass.js +17 -4
- package/build/lib/CommandClass.js.map +1 -1
- package/build/lib/EncapsulatingCommandClass.d.ts +1 -0
- package/build/lib/EncapsulatingCommandClass.d.ts.map +1 -1
- package/build/lib/EncapsulatingCommandClass.js +10 -1
- package/build/lib/EncapsulatingCommandClass.js.map +1 -1
- package/build/lib/Security2/Extension.d.ts +2 -0
- package/build/lib/Security2/Extension.d.ts.map +1 -1
- package/build/lib/Security2/Extension.js +9 -1
- package/build/lib/Security2/Extension.js.map +1 -1
- package/build/lib/Values.d.ts +3 -1
- package/build/lib/Values.d.ts.map +1 -1
- package/build/lib/_Types.d.ts +50 -0
- package/build/lib/_Types.d.ts.map +1 -1
- package/build/lib/_Types.js +93 -4
- package/build/lib/_Types.js.map +1 -1
- package/package.json +10 -22
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { CommandClasses, Duration, Maybe, SupervisionResult } from "@zwave-js/core";
|
|
3
|
+
import type { ZWaveApplicationHost, ZWaveHost } from "@zwave-js/host";
|
|
4
|
+
import { CCAPI, PollValueImplementation, POLL_VALUE, SetValueImplementation, SET_VALUE } from "../lib/API";
|
|
5
|
+
import { CCCommandOptions, CommandClass, type CommandClassDeserializationOptions } from "../lib/CommandClass";
|
|
6
|
+
import { LevelChangeDirection, WindowCoveringCommand, WindowCoveringParameter } from "../lib/_Types";
|
|
7
|
+
export declare const WindowCoveringCCValues: Readonly<{
|
|
8
|
+
tiltClose99: ((parameter: WindowCoveringParameter) => {
|
|
9
|
+
readonly meta: {
|
|
10
|
+
readonly label: `Close Left - ${string}` | `Close Down - ${string}`;
|
|
11
|
+
readonly ccSpecific: {
|
|
12
|
+
readonly parameter: WindowCoveringParameter;
|
|
13
|
+
};
|
|
14
|
+
readonly valueChangeOptions: readonly ["transitionDuration"];
|
|
15
|
+
readonly readable: false;
|
|
16
|
+
readonly type: "boolean";
|
|
17
|
+
readonly writeable: true;
|
|
18
|
+
};
|
|
19
|
+
readonly id: {
|
|
20
|
+
commandClass: (typeof CommandClasses)["Window Covering"];
|
|
21
|
+
property: "close99";
|
|
22
|
+
propertyKey: WindowCoveringParameter;
|
|
23
|
+
};
|
|
24
|
+
readonly endpoint: (endpoint?: number | undefined) => {
|
|
25
|
+
readonly commandClass: (typeof CommandClasses)["Window Covering"];
|
|
26
|
+
readonly endpoint: number;
|
|
27
|
+
readonly property: "close99";
|
|
28
|
+
readonly propertyKey: WindowCoveringParameter;
|
|
29
|
+
};
|
|
30
|
+
}) & {
|
|
31
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
32
|
+
readonly options: {
|
|
33
|
+
readonly internal: false;
|
|
34
|
+
readonly minVersion: 1;
|
|
35
|
+
readonly secret: false;
|
|
36
|
+
readonly stateful: true;
|
|
37
|
+
readonly supportsEndpoints: true;
|
|
38
|
+
readonly autoCreate: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
tiltClose0: ((parameter: WindowCoveringParameter) => {
|
|
42
|
+
readonly meta: {
|
|
43
|
+
readonly label: `Close Right - ${string}` | `Close Up - ${string}`;
|
|
44
|
+
readonly ccSpecific: {
|
|
45
|
+
readonly parameter: WindowCoveringParameter;
|
|
46
|
+
};
|
|
47
|
+
readonly valueChangeOptions: readonly ["transitionDuration"];
|
|
48
|
+
readonly readable: false;
|
|
49
|
+
readonly type: "boolean";
|
|
50
|
+
readonly writeable: true;
|
|
51
|
+
};
|
|
52
|
+
readonly id: {
|
|
53
|
+
commandClass: (typeof CommandClasses)["Window Covering"];
|
|
54
|
+
property: "close0";
|
|
55
|
+
propertyKey: WindowCoveringParameter;
|
|
56
|
+
};
|
|
57
|
+
readonly endpoint: (endpoint?: number | undefined) => {
|
|
58
|
+
readonly commandClass: (typeof CommandClasses)["Window Covering"];
|
|
59
|
+
readonly endpoint: number;
|
|
60
|
+
readonly property: "close0";
|
|
61
|
+
readonly propertyKey: WindowCoveringParameter;
|
|
62
|
+
};
|
|
63
|
+
}) & {
|
|
64
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
65
|
+
readonly options: {
|
|
66
|
+
readonly internal: false;
|
|
67
|
+
readonly minVersion: 1;
|
|
68
|
+
readonly secret: false;
|
|
69
|
+
readonly stateful: true;
|
|
70
|
+
readonly supportsEndpoints: true;
|
|
71
|
+
readonly autoCreate: true;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
positionClose: ((parameter: WindowCoveringParameter) => {
|
|
75
|
+
readonly meta: {
|
|
76
|
+
readonly label: `Close - ${string}`;
|
|
77
|
+
readonly ccSpecific: {
|
|
78
|
+
readonly parameter: WindowCoveringParameter;
|
|
79
|
+
};
|
|
80
|
+
readonly valueChangeOptions: readonly ["transitionDuration"];
|
|
81
|
+
readonly readable: false;
|
|
82
|
+
readonly type: "boolean";
|
|
83
|
+
readonly writeable: true;
|
|
84
|
+
};
|
|
85
|
+
readonly id: {
|
|
86
|
+
commandClass: (typeof CommandClasses)["Window Covering"];
|
|
87
|
+
property: "close";
|
|
88
|
+
propertyKey: WindowCoveringParameter;
|
|
89
|
+
};
|
|
90
|
+
readonly endpoint: (endpoint?: number | undefined) => {
|
|
91
|
+
readonly commandClass: (typeof CommandClasses)["Window Covering"];
|
|
92
|
+
readonly endpoint: number;
|
|
93
|
+
readonly property: "close";
|
|
94
|
+
readonly propertyKey: WindowCoveringParameter;
|
|
95
|
+
};
|
|
96
|
+
}) & {
|
|
97
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
98
|
+
readonly options: {
|
|
99
|
+
readonly internal: false;
|
|
100
|
+
readonly minVersion: 1;
|
|
101
|
+
readonly secret: false;
|
|
102
|
+
readonly stateful: true;
|
|
103
|
+
readonly supportsEndpoints: true;
|
|
104
|
+
readonly autoCreate: true;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
open: ((parameter: WindowCoveringParameter) => {
|
|
108
|
+
readonly meta: {
|
|
109
|
+
readonly label: `Open - ${string}`;
|
|
110
|
+
readonly ccSpecific: {
|
|
111
|
+
readonly parameter: WindowCoveringParameter;
|
|
112
|
+
};
|
|
113
|
+
readonly valueChangeOptions: readonly ["transitionDuration"];
|
|
114
|
+
readonly readable: false;
|
|
115
|
+
readonly type: "boolean";
|
|
116
|
+
readonly writeable: true;
|
|
117
|
+
};
|
|
118
|
+
readonly id: {
|
|
119
|
+
commandClass: (typeof CommandClasses)["Window Covering"];
|
|
120
|
+
property: "open";
|
|
121
|
+
propertyKey: WindowCoveringParameter;
|
|
122
|
+
};
|
|
123
|
+
readonly endpoint: (endpoint?: number | undefined) => {
|
|
124
|
+
readonly commandClass: (typeof CommandClasses)["Window Covering"];
|
|
125
|
+
readonly endpoint: number;
|
|
126
|
+
readonly property: "open";
|
|
127
|
+
readonly propertyKey: WindowCoveringParameter;
|
|
128
|
+
};
|
|
129
|
+
}) & {
|
|
130
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
131
|
+
readonly options: {
|
|
132
|
+
readonly internal: false;
|
|
133
|
+
readonly minVersion: 1;
|
|
134
|
+
readonly secret: false;
|
|
135
|
+
readonly stateful: true;
|
|
136
|
+
readonly supportsEndpoints: true;
|
|
137
|
+
readonly autoCreate: true;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
duration: ((parameter: WindowCoveringParameter) => {
|
|
141
|
+
readonly meta: {
|
|
142
|
+
readonly label: `Remaining duration - ${string}`;
|
|
143
|
+
readonly ccSpecific: {
|
|
144
|
+
readonly parameter: WindowCoveringParameter;
|
|
145
|
+
};
|
|
146
|
+
readonly writeable: false;
|
|
147
|
+
readonly type: "duration";
|
|
148
|
+
readonly readable: true;
|
|
149
|
+
};
|
|
150
|
+
readonly id: {
|
|
151
|
+
commandClass: (typeof CommandClasses)["Window Covering"];
|
|
152
|
+
property: "duration";
|
|
153
|
+
propertyKey: WindowCoveringParameter;
|
|
154
|
+
};
|
|
155
|
+
readonly endpoint: (endpoint?: number | undefined) => {
|
|
156
|
+
readonly commandClass: (typeof CommandClasses)["Window Covering"];
|
|
157
|
+
readonly endpoint: number;
|
|
158
|
+
readonly property: "duration";
|
|
159
|
+
readonly propertyKey: WindowCoveringParameter;
|
|
160
|
+
};
|
|
161
|
+
}) & {
|
|
162
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
163
|
+
readonly options: {
|
|
164
|
+
readonly internal: false;
|
|
165
|
+
readonly minVersion: 1;
|
|
166
|
+
readonly secret: false;
|
|
167
|
+
readonly stateful: true;
|
|
168
|
+
readonly supportsEndpoints: true;
|
|
169
|
+
readonly autoCreate: true;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
targetValue: ((parameter: WindowCoveringParameter) => {
|
|
173
|
+
readonly meta: {
|
|
174
|
+
readonly ccSpecific: {
|
|
175
|
+
readonly parameter: WindowCoveringParameter;
|
|
176
|
+
};
|
|
177
|
+
readonly valueChangeOptions: readonly ["transitionDuration"];
|
|
178
|
+
readonly label: `Target value - ${string}`;
|
|
179
|
+
readonly writeable: boolean;
|
|
180
|
+
readonly max: 99;
|
|
181
|
+
readonly min: 0;
|
|
182
|
+
readonly type: "number";
|
|
183
|
+
readonly readable: true;
|
|
184
|
+
};
|
|
185
|
+
readonly id: {
|
|
186
|
+
commandClass: (typeof CommandClasses)["Window Covering"];
|
|
187
|
+
property: "targetValue";
|
|
188
|
+
propertyKey: WindowCoveringParameter;
|
|
189
|
+
};
|
|
190
|
+
readonly endpoint: (endpoint?: number | undefined) => {
|
|
191
|
+
readonly commandClass: (typeof CommandClasses)["Window Covering"];
|
|
192
|
+
readonly endpoint: number;
|
|
193
|
+
readonly property: "targetValue";
|
|
194
|
+
readonly propertyKey: WindowCoveringParameter;
|
|
195
|
+
};
|
|
196
|
+
}) & {
|
|
197
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
198
|
+
readonly options: {
|
|
199
|
+
readonly internal: false;
|
|
200
|
+
readonly minVersion: 1;
|
|
201
|
+
readonly secret: false;
|
|
202
|
+
readonly stateful: true;
|
|
203
|
+
readonly supportsEndpoints: true;
|
|
204
|
+
readonly autoCreate: true;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
currentValue: ((parameter: WindowCoveringParameter) => {
|
|
208
|
+
readonly meta: {
|
|
209
|
+
readonly ccSpecific: {
|
|
210
|
+
readonly parameter: WindowCoveringParameter;
|
|
211
|
+
};
|
|
212
|
+
readonly label: `Current value - ${string}`;
|
|
213
|
+
readonly writeable: false;
|
|
214
|
+
readonly max: 99;
|
|
215
|
+
readonly min: 0;
|
|
216
|
+
readonly type: "number";
|
|
217
|
+
readonly readable: true;
|
|
218
|
+
};
|
|
219
|
+
readonly id: {
|
|
220
|
+
commandClass: (typeof CommandClasses)["Window Covering"];
|
|
221
|
+
property: "currentValue";
|
|
222
|
+
propertyKey: WindowCoveringParameter;
|
|
223
|
+
};
|
|
224
|
+
readonly endpoint: (endpoint?: number | undefined) => {
|
|
225
|
+
readonly commandClass: (typeof CommandClasses)["Window Covering"];
|
|
226
|
+
readonly endpoint: number;
|
|
227
|
+
readonly property: "currentValue";
|
|
228
|
+
readonly propertyKey: WindowCoveringParameter;
|
|
229
|
+
};
|
|
230
|
+
}) & {
|
|
231
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
232
|
+
readonly options: {
|
|
233
|
+
readonly internal: false;
|
|
234
|
+
readonly minVersion: 1;
|
|
235
|
+
readonly secret: false;
|
|
236
|
+
readonly stateful: true;
|
|
237
|
+
readonly supportsEndpoints: true;
|
|
238
|
+
readonly autoCreate: true;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
supportedParameters: {
|
|
242
|
+
readonly id: {
|
|
243
|
+
commandClass: (typeof CommandClasses)["Window Covering"];
|
|
244
|
+
property: "supportedParameters";
|
|
245
|
+
};
|
|
246
|
+
readonly endpoint: (endpoint?: number | undefined) => {
|
|
247
|
+
readonly commandClass: (typeof CommandClasses)["Window Covering"];
|
|
248
|
+
readonly endpoint: number;
|
|
249
|
+
readonly property: "supportedParameters";
|
|
250
|
+
};
|
|
251
|
+
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
252
|
+
readonly meta: {
|
|
253
|
+
readonly type: "any";
|
|
254
|
+
readonly readable: true;
|
|
255
|
+
readonly writeable: true;
|
|
256
|
+
};
|
|
257
|
+
readonly options: {
|
|
258
|
+
readonly stateful: true;
|
|
259
|
+
readonly secret: false;
|
|
260
|
+
readonly minVersion: 1;
|
|
261
|
+
readonly supportsEndpoints: true;
|
|
262
|
+
readonly autoCreate: true;
|
|
263
|
+
readonly internal: true;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
}>;
|
|
267
|
+
export declare class WindowCoveringCCAPI extends CCAPI {
|
|
268
|
+
supportsCommand(cmd: WindowCoveringCommand): Maybe<boolean>;
|
|
269
|
+
protected [SET_VALUE]: SetValueImplementation;
|
|
270
|
+
protected [POLL_VALUE]: PollValueImplementation;
|
|
271
|
+
getSupported(): Promise<readonly WindowCoveringParameter[] | undefined>;
|
|
272
|
+
get(parameter: WindowCoveringParameter): Promise<Pick<WindowCoveringCCReport, "duration" | "currentValue" | "targetValue"> | undefined>;
|
|
273
|
+
set(targetValues: {
|
|
274
|
+
parameter: WindowCoveringParameter;
|
|
275
|
+
value: number;
|
|
276
|
+
}[], duration?: Duration | string): Promise<SupervisionResult | undefined>;
|
|
277
|
+
startLevelChange(parameter: WindowCoveringParameter, direction: keyof typeof LevelChangeDirection, duration?: Duration | string): Promise<SupervisionResult | undefined>;
|
|
278
|
+
stopLevelChange(parameter: WindowCoveringParameter): Promise<SupervisionResult | undefined>;
|
|
279
|
+
}
|
|
280
|
+
export declare class WindowCoveringCC extends CommandClass {
|
|
281
|
+
ccCommand: WindowCoveringCommand;
|
|
282
|
+
interview(applHost: ZWaveApplicationHost): Promise<void>;
|
|
283
|
+
translatePropertyKey(_applHost: ZWaveApplicationHost, _property: string | number, propertyKey: string | number): string | undefined;
|
|
284
|
+
}
|
|
285
|
+
export interface WindowCoveringCCSupportedReportOptions extends CCCommandOptions {
|
|
286
|
+
supportedParameters: readonly WindowCoveringParameter[];
|
|
287
|
+
}
|
|
288
|
+
export declare class WindowCoveringCCSupportedReport extends WindowCoveringCC {
|
|
289
|
+
constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | WindowCoveringCCSupportedReportOptions);
|
|
290
|
+
readonly supportedParameters: readonly WindowCoveringParameter[];
|
|
291
|
+
serialize(): Buffer;
|
|
292
|
+
}
|
|
293
|
+
export declare class WindowCoveringCCSupportedGet extends WindowCoveringCC {
|
|
294
|
+
}
|
|
295
|
+
export declare class WindowCoveringCCReport extends WindowCoveringCC {
|
|
296
|
+
constructor(host: ZWaveHost, options: CommandClassDeserializationOptions);
|
|
297
|
+
readonly parameter: WindowCoveringParameter;
|
|
298
|
+
readonly currentValue: number;
|
|
299
|
+
readonly targetValue: number;
|
|
300
|
+
readonly duration: Duration;
|
|
301
|
+
}
|
|
302
|
+
interface WindowCoveringCCGetOptions extends CCCommandOptions {
|
|
303
|
+
parameter: WindowCoveringParameter;
|
|
304
|
+
}
|
|
305
|
+
export declare class WindowCoveringCCGet extends WindowCoveringCC {
|
|
306
|
+
constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | WindowCoveringCCGetOptions);
|
|
307
|
+
parameter: WindowCoveringParameter;
|
|
308
|
+
serialize(): Buffer;
|
|
309
|
+
}
|
|
310
|
+
export interface WindowCoveringCCSetOptions extends CCCommandOptions {
|
|
311
|
+
targetValues: {
|
|
312
|
+
parameter: WindowCoveringParameter;
|
|
313
|
+
value: number;
|
|
314
|
+
}[];
|
|
315
|
+
duration?: Duration | string;
|
|
316
|
+
}
|
|
317
|
+
export declare class WindowCoveringCCSet extends WindowCoveringCC {
|
|
318
|
+
constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | WindowCoveringCCSetOptions);
|
|
319
|
+
targetValues: {
|
|
320
|
+
parameter: WindowCoveringParameter;
|
|
321
|
+
value: number;
|
|
322
|
+
}[];
|
|
323
|
+
duration: Duration | undefined;
|
|
324
|
+
serialize(): Buffer;
|
|
325
|
+
}
|
|
326
|
+
export interface WindowCoveringCCStartLevelChangeOptions extends CCCommandOptions {
|
|
327
|
+
parameter: WindowCoveringParameter;
|
|
328
|
+
direction: keyof typeof LevelChangeDirection;
|
|
329
|
+
duration?: Duration | string;
|
|
330
|
+
}
|
|
331
|
+
export declare class WindowCoveringCCStartLevelChange extends WindowCoveringCC {
|
|
332
|
+
constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | WindowCoveringCCStartLevelChangeOptions);
|
|
333
|
+
parameter: WindowCoveringParameter;
|
|
334
|
+
direction: keyof typeof LevelChangeDirection;
|
|
335
|
+
duration: Duration | undefined;
|
|
336
|
+
serialize(): Buffer;
|
|
337
|
+
}
|
|
338
|
+
interface WindowCoveringCCStopLevelChangeOptions extends CCCommandOptions {
|
|
339
|
+
parameter: WindowCoveringParameter;
|
|
340
|
+
}
|
|
341
|
+
export declare class WindowCoveringCCStopLevelChange extends WindowCoveringCC {
|
|
342
|
+
constructor(host: ZWaveHost, options: CommandClassDeserializationOptions | WindowCoveringCCStopLevelChangeOptions);
|
|
343
|
+
parameter: WindowCoveringParameter;
|
|
344
|
+
serialize(): Buffer;
|
|
345
|
+
}
|
|
346
|
+
export {};
|
|
347
|
+
//# sourceMappingURL=WindowCoveringCC.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WindowCoveringCC.d.ts","sourceRoot":"","sources":["../../src/cc/WindowCoveringCC.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,cAAc,EACd,QAAQ,EAER,KAAK,EAGL,iBAAiB,EAKjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGtE,OAAO,EACN,KAAK,EACL,uBAAuB,EACvB,UAAU,EACV,sBAAsB,EACtB,SAAS,EAKT,MAAM,YAAY,CAAC;AACpB,OAAO,EACN,gBAAgB,EAChB,YAAY,EAEZ,KAAK,kCAAkC,EACvC,MAAM,qBAAqB,CAAC;AAW7B,OAAO,EACN,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,MAAM,eAAe,CAAC;AA8DvB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0LjC,CAAC;AAEH,qBACa,mBAAoB,SAAQ,KAAK;IACtC,eAAe,CAAC,GAAG,EAAE,qBAAqB,GAAG,KAAK,CAAC,OAAO,CAAC;IAYlE,SAAS,CAAC,CAAC,SAAS,CAAC,EAAE,sBA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