@zwave-js/cc 15.17.0 → 15.18.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/cjs/cc/ConfigurationCC.js +7 -0
- package/build/cjs/cc/ConfigurationCC.js.map +2 -2
- package/build/cjs/cc/EntryControlCC.js +0 -3
- package/build/cjs/cc/EntryControlCC.js.map +2 -2
- package/build/cjs/cc/SoundSwitchCC._validateArgs.js +1 -1
- package/build/cjs/cc/SoundSwitchCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/SoundSwitchCC.d.ts +7 -3
- package/build/cjs/cc/SoundSwitchCC.js +4 -4
- package/build/cjs/cc/SoundSwitchCC.js.map +2 -2
- package/build/cjs/cc/UserCodeCC.d.ts +1 -1
- package/build/cjs/cc/UserCodeCC.js +34 -4
- package/build/cjs/cc/UserCodeCC.js.map +2 -2
- package/build/cjs/cc/index.js +546 -66
- package/build/cjs/cc/index.js.map +2 -2
- package/build/esm/cc/ConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/ConfigurationCC.js +9 -0
- package/build/esm/cc/ConfigurationCC.js.map +1 -1
- package/build/esm/cc/EntryControlCC.d.ts.map +1 -1
- package/build/esm/cc/EntryControlCC.js +1 -3
- package/build/esm/cc/EntryControlCC.js.map +1 -1
- package/build/esm/cc/SoundSwitchCC._validateArgs.js +1 -1
- package/build/esm/cc/SoundSwitchCC._validateArgs.js.map +1 -1
- package/build/esm/cc/SoundSwitchCC.d.ts +7 -3
- package/build/esm/cc/SoundSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/SoundSwitchCC.js +4 -4
- package/build/esm/cc/SoundSwitchCC.js.map +1 -1
- package/build/esm/cc/UserCodeCC.d.ts +1 -1
- package/build/esm/cc/UserCodeCC.d.ts.map +1 -1
- package/build/esm/cc/UserCodeCC.js +41 -8
- package/build/esm/cc/UserCodeCC.js.map +1 -1
- package/build/esm/cc/index.d.ts.map +1 -1
- package/build/esm/cc/index.js +546 -527
- package/build/esm/cc/index.js.map +1 -1
- package/package.json +7 -7
|
@@ -1053,6 +1053,9 @@ alters capabilities: ${!!properties.altersCapabilities}`;
|
|
|
1053
1053
|
}
|
|
1054
1054
|
this.setValue(ctx, import_CCValues_generated.ConfigurationCCValues.isParamInformationFromConfig, false);
|
|
1055
1055
|
for (const [param, info] of config.entries()) {
|
|
1056
|
+
if (info.hidden) {
|
|
1057
|
+
continue;
|
|
1058
|
+
}
|
|
1056
1059
|
const paramInfo = (0, import_core.stripUndefined)({
|
|
1057
1060
|
// TODO: Make this smarter! (0...1 ==> boolean)
|
|
1058
1061
|
type: "number",
|
|
@@ -1149,6 +1152,10 @@ let ConfigurationCCReport = (() => {
|
|
|
1149
1152
|
persistValues(ctx) {
|
|
1150
1153
|
if (!super.persistValues(ctx))
|
|
1151
1154
|
return false;
|
|
1155
|
+
const paramInfo = getParamInformationFromConfigFile(ctx, this.nodeId, this.endpointIndex);
|
|
1156
|
+
if (paramInfo?.get({ parameter: this.parameter })?.hidden) {
|
|
1157
|
+
return true;
|
|
1158
|
+
}
|
|
1152
1159
|
const ccVersion = (0, import_CommandClass.getEffectiveCCVersion)(ctx, this);
|
|
1153
1160
|
const partialParams = this.getPartialParamInfos(ctx, this.parameter);
|
|
1154
1161
|
let cachedValueFormat;
|