@zwave-js/cc 15.1.2 → 15.2.1
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/cjs/cc/BasicWindowCoveringCC._validateArgs.d.ts +3 -0
- package/build/cjs/cc/BasicWindowCoveringCC._validateArgs.js +64 -0
- package/build/cjs/cc/BasicWindowCoveringCC._validateArgs.js.map +7 -0
- package/build/cjs/cc/BasicWindowCoveringCC.d.ts +90 -0
- package/build/cjs/cc/BasicWindowCoveringCC.js +273 -0
- package/build/cjs/cc/BasicWindowCoveringCC.js.map +7 -0
- package/build/cjs/cc/_CCValues.generated.d.ts +124 -0
- package/build/cjs/cc/_CCValues.generated.js +69 -0
- package/build/cjs/cc/_CCValues.generated.js.map +2 -2
- package/build/cjs/cc/index.d.ts +2 -0
- package/build/cjs/cc/index.js +9 -0
- package/build/cjs/cc/index.js.map +2 -2
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -1
- package/build/cjs/index.js.map +2 -2
- package/build/cjs/lib/API.d.ts +2 -0
- package/build/cjs/lib/API.js.map +2 -2
- package/build/cjs/lib/_Types.d.ts +4 -0
- package/build/cjs/lib/_Types.js +7 -0
- package/build/cjs/lib/_Types.js.map +3 -3
- package/build/cjs/package.json +2 -1
- package/build/esm/cc/BasicWindowCoveringCC._validateArgs.d.ts +3 -0
- package/build/esm/cc/BasicWindowCoveringCC._validateArgs.d.ts.map +1 -0
- package/build/esm/cc/BasicWindowCoveringCC._validateArgs.js +22 -0
- package/build/esm/cc/BasicWindowCoveringCC._validateArgs.js.map +1 -0
- package/build/esm/cc/BasicWindowCoveringCC.d.ts +90 -0
- package/build/esm/cc/BasicWindowCoveringCC.d.ts.map +1 -0
- package/build/esm/cc/BasicWindowCoveringCC.js +215 -0
- package/build/esm/cc/BasicWindowCoveringCC.js.map +1 -0
- package/build/esm/cc/_CCValues.generated.d.ts +124 -0
- package/build/esm/cc/_CCValues.generated.d.ts.map +1 -1
- package/build/esm/cc/_CCValues.generated.js +73 -0
- package/build/esm/cc/_CCValues.generated.js.map +1 -1
- package/build/esm/cc/index.d.ts +2 -0
- package/build/esm/cc/index.d.ts.map +1 -1
- package/build/esm/cc/index.js +1 -0
- package/build/esm/cc/index.js.map +1 -1
- package/build/esm/index.d.ts +0 -1
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +0 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/lib/API.d.ts +2 -0
- package/build/esm/lib/API.d.ts.map +1 -1
- package/build/esm/lib/API.js.map +1 -1
- package/build/esm/lib/_Types.d.ts +4 -0
- package/build/esm/lib/_Types.d.ts.map +1 -1
- package/build/esm/lib/_Types.js +5 -0
- package/build/esm/lib/_Types.js.map +1 -1
- package/build/esm/package.json +2 -1
- package/package.json +6 -5
|
@@ -24,6 +24,7 @@ __export(CCValues_generated_exports, {
|
|
|
24
24
|
AssociationGroupInfoCCValues: () => AssociationGroupInfoCCValues,
|
|
25
25
|
BarrierOperatorCCValues: () => BarrierOperatorCCValues,
|
|
26
26
|
BasicCCValues: () => BasicCCValues,
|
|
27
|
+
BasicWindowCoveringCCValues: () => BasicWindowCoveringCCValues,
|
|
27
28
|
BatteryCCValues: () => BatteryCCValues,
|
|
28
29
|
BinarySensorCCValues: () => BinarySensorCCValues,
|
|
29
30
|
BinarySwitchCCValues: () => BinarySwitchCCValues,
|
|
@@ -758,6 +759,72 @@ const BasicCCValues = Object.freeze({
|
|
|
758
759
|
}
|
|
759
760
|
}
|
|
760
761
|
});
|
|
762
|
+
const BasicWindowCoveringCCValues = Object.freeze({
|
|
763
|
+
levelChangeUp: {
|
|
764
|
+
id: {
|
|
765
|
+
commandClass: import_core.CommandClasses["Basic Window Covering"],
|
|
766
|
+
property: "levelChangeUp"
|
|
767
|
+
},
|
|
768
|
+
endpoint: /* @__PURE__ */ __name((endpoint = 0) => ({
|
|
769
|
+
commandClass: import_core.CommandClasses["Basic Window Covering"],
|
|
770
|
+
endpoint,
|
|
771
|
+
property: "levelChangeUp"
|
|
772
|
+
}), "endpoint"),
|
|
773
|
+
is: /* @__PURE__ */ __name((valueId) => {
|
|
774
|
+
return valueId.commandClass === import_core.CommandClasses["Basic Window Covering"] && valueId.property === "levelChangeUp" && valueId.propertyKey == void 0;
|
|
775
|
+
}, "is"),
|
|
776
|
+
get meta() {
|
|
777
|
+
return {
|
|
778
|
+
...import_core.ValueMetadata.WriteOnlyBoolean,
|
|
779
|
+
label: "Open",
|
|
780
|
+
states: {
|
|
781
|
+
true: "Start",
|
|
782
|
+
false: "Stop"
|
|
783
|
+
}
|
|
784
|
+
};
|
|
785
|
+
},
|
|
786
|
+
options: {
|
|
787
|
+
internal: false,
|
|
788
|
+
minVersion: 1,
|
|
789
|
+
secret: false,
|
|
790
|
+
stateful: true,
|
|
791
|
+
supportsEndpoints: true,
|
|
792
|
+
autoCreate: true
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
levelChangeDown: {
|
|
796
|
+
id: {
|
|
797
|
+
commandClass: import_core.CommandClasses["Basic Window Covering"],
|
|
798
|
+
property: "levelChangeDown"
|
|
799
|
+
},
|
|
800
|
+
endpoint: /* @__PURE__ */ __name((endpoint = 0) => ({
|
|
801
|
+
commandClass: import_core.CommandClasses["Basic Window Covering"],
|
|
802
|
+
endpoint,
|
|
803
|
+
property: "levelChangeDown"
|
|
804
|
+
}), "endpoint"),
|
|
805
|
+
is: /* @__PURE__ */ __name((valueId) => {
|
|
806
|
+
return valueId.commandClass === import_core.CommandClasses["Basic Window Covering"] && valueId.property === "levelChangeDown" && valueId.propertyKey == void 0;
|
|
807
|
+
}, "is"),
|
|
808
|
+
get meta() {
|
|
809
|
+
return {
|
|
810
|
+
...import_core.ValueMetadata.WriteOnlyBoolean,
|
|
811
|
+
label: "Close",
|
|
812
|
+
states: {
|
|
813
|
+
true: "Start",
|
|
814
|
+
false: "Stop"
|
|
815
|
+
}
|
|
816
|
+
};
|
|
817
|
+
},
|
|
818
|
+
options: {
|
|
819
|
+
internal: false,
|
|
820
|
+
minVersion: 1,
|
|
821
|
+
secret: false,
|
|
822
|
+
stateful: true,
|
|
823
|
+
supportsEndpoints: true,
|
|
824
|
+
autoCreate: true
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
});
|
|
761
828
|
const BatteryCCValues = Object.freeze({
|
|
762
829
|
level: {
|
|
763
830
|
id: {
|
|
@@ -8621,6 +8688,7 @@ const CCValues = {
|
|
|
8621
8688
|
[import_core.CommandClasses["Association Group Information"]]: AssociationGroupInfoCCValues,
|
|
8622
8689
|
[import_core.CommandClasses["Barrier Operator"]]: BarrierOperatorCCValues,
|
|
8623
8690
|
[import_core.CommandClasses.Basic]: BasicCCValues,
|
|
8691
|
+
[import_core.CommandClasses["Basic Window Covering"]]: BasicWindowCoveringCCValues,
|
|
8624
8692
|
[import_core.CommandClasses.Battery]: BatteryCCValues,
|
|
8625
8693
|
[import_core.CommandClasses["Binary Sensor"]]: BinarySensorCCValues,
|
|
8626
8694
|
[import_core.CommandClasses["Binary Switch"]]: BinarySwitchCCValues,
|
|
@@ -8674,6 +8742,7 @@ const CCValues = {
|
|
|
8674
8742
|
AssociationGroupInfoCCValues,
|
|
8675
8743
|
BarrierOperatorCCValues,
|
|
8676
8744
|
BasicCCValues,
|
|
8745
|
+
BasicWindowCoveringCCValues,
|
|
8677
8746
|
BatteryCCValues,
|
|
8678
8747
|
BinarySensorCCValues,
|
|
8679
8748
|
BinarySwitchCCValues,
|