zigbee-herdsman-converters 15.0.95 → 15.0.96
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/devices/climax.js +1 -1
- package/devices/lixee.js +48 -3
- package/lib/exposes.js +2 -2
- package/package.json +1 -1
package/devices/climax.js
CHANGED
|
@@ -112,7 +112,7 @@ module.exports = [
|
|
|
112
112
|
exposes: [e.carbon_monoxide(), e.battery_low(), e.tamper(), e.battery()],
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
-
zigbeeModel: ['KP-ACE_00.00.03.12TC'],
|
|
115
|
+
zigbeeModel: ['KP-ACE_00.00.03.12TC', 'KP-ACE_00.00.03.11TC'],
|
|
116
116
|
model: 'KP-23EL-ZBS-ACE',
|
|
117
117
|
vendor: 'Climax',
|
|
118
118
|
description: 'Remote Keypad',
|
package/devices/lixee.js
CHANGED
|
@@ -319,12 +319,51 @@ const tarifsDef = {
|
|
|
319
319
|
'EJPHPM',
|
|
320
320
|
'PEJP',
|
|
321
321
|
]},
|
|
322
|
+
stand_SEM_WE_LUNDI: {
|
|
323
|
+
fname: 'Standard - Sem WE Lundi',
|
|
324
|
+
currentTarf: 'SEM WE LUNDI', excluded: [
|
|
325
|
+
'EASF07',
|
|
326
|
+
'EASF08',
|
|
327
|
+
'EASF09',
|
|
328
|
+
'EASF10',
|
|
329
|
+
'EASD02',
|
|
330
|
+
'EASD03',
|
|
331
|
+
'EASD04',
|
|
332
|
+
'DPM1',
|
|
333
|
+
'DPM2',
|
|
334
|
+
'DPM3',
|
|
335
|
+
'FPM1',
|
|
336
|
+
'FPM2',
|
|
337
|
+
'FPM3',
|
|
338
|
+
'NJOURF',
|
|
339
|
+
'NJOURF+1',
|
|
340
|
+
'PJOURF+1',
|
|
341
|
+
'PPOINTE1',
|
|
342
|
+
]},
|
|
322
343
|
stand_SEM_WE_MERCR: {
|
|
323
344
|
fname: 'Standard - Sem WE Mercredi',
|
|
324
345
|
currentTarf: 'SEM WE MERCREDI', excluded: [
|
|
325
|
-
'
|
|
326
|
-
'
|
|
327
|
-
'
|
|
346
|
+
'EASF07',
|
|
347
|
+
'EASF08',
|
|
348
|
+
'EASF09',
|
|
349
|
+
'EASF10',
|
|
350
|
+
'EASD02',
|
|
351
|
+
'EASD03',
|
|
352
|
+
'EASD04',
|
|
353
|
+
'DPM1',
|
|
354
|
+
'DPM2',
|
|
355
|
+
'DPM3',
|
|
356
|
+
'FPM1',
|
|
357
|
+
'FPM2',
|
|
358
|
+
'FPM3',
|
|
359
|
+
'NJOURF',
|
|
360
|
+
'NJOURF+1',
|
|
361
|
+
'PJOURF+1',
|
|
362
|
+
'PPOINTE1',
|
|
363
|
+
]},
|
|
364
|
+
stand_SEM_WE_VENDR: {
|
|
365
|
+
fname: 'Standard - Sem WE Vendredi',
|
|
366
|
+
currentTarf: 'SEM WE VENDREDI', excluded: [
|
|
328
367
|
'EASF07',
|
|
329
368
|
'EASF08',
|
|
330
369
|
'EASF09',
|
|
@@ -598,9 +637,15 @@ function getCurrentConfig(device, options, logger=console) {
|
|
|
598
637
|
case linkyMode == linkyModeDef.legacy && currentTarf && currentTarf.startsWith(tarifsDef.histo_BBR.currentTarf):
|
|
599
638
|
myExpose = myExpose.filter((a) => !tarifsDef.histo_BBR.excluded.includes(a.exposes.name));
|
|
600
639
|
break;
|
|
640
|
+
case linkyMode == linkyModeDef.standard && tarifsDef.stand_SEM_WE_LUNDI.currentTarf:
|
|
641
|
+
myExpose = myExpose.filter((a) => !tarifsDef.stand_SEM_WE_LUNDI.excluded.includes(a.exposes.name));
|
|
642
|
+
break;
|
|
601
643
|
case linkyMode == linkyModeDef.standard && tarifsDef.stand_SEM_WE_MERCR.currentTarf:
|
|
602
644
|
myExpose = myExpose.filter((a) => !tarifsDef.stand_SEM_WE_MERCR.excluded.includes(a.exposes.name));
|
|
603
645
|
break;
|
|
646
|
+
case linkyMode == linkyModeDef.standard && tarifsDef.stand_SEM_WE_VENDR.currentTarf:
|
|
647
|
+
myExpose = myExpose.filter((a) => !tarifsDef.stand_SEM_WE_VENDR.excluded.includes(a.exposes.name));
|
|
648
|
+
break;
|
|
604
649
|
case linkyMode == linkyModeDef.standard && tarifsDef.stand_HPHC.currentTarf:
|
|
605
650
|
myExpose = myExpose.filter((a) => !tarifsDef.stand_HPHC.excluded.includes(a.exposes.name));
|
|
606
651
|
break;
|
package/lib/exposes.js
CHANGED
|
@@ -344,13 +344,13 @@ class Cover extends Base {
|
|
|
344
344
|
|
|
345
345
|
withPosition() {
|
|
346
346
|
assert(!this.endpoint, 'Cannot add feature after adding endpoint');
|
|
347
|
-
this.features.push(new Numeric('position', access.ALL).withValueMin(0).withValueMax(100).withDescription('Position of this cover'));
|
|
347
|
+
this.features.push(new Numeric('position', access.ALL).withValueMin(0).withValueMax(100).withDescription('Position of this cover').withUnit('%'));
|
|
348
348
|
return this;
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
withTilt() {
|
|
352
352
|
assert(!this.endpoint, 'Cannot add feature after adding endpoint');
|
|
353
|
-
this.features.push(new Numeric('tilt', access.ALL).withValueMin(0).withValueMax(100).withDescription('Tilt of this cover'));
|
|
353
|
+
this.features.push(new Numeric('tilt', access.ALL).withValueMin(0).withValueMax(100).withDescription('Tilt of this cover').withUnit('%'));
|
|
354
354
|
return this;
|
|
355
355
|
}
|
|
356
356
|
}
|