zigbee-herdsman-converters 20.2.0 → 20.3.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/CHANGELOG.md +27 -0
- package/converters/toZigbee.d.ts +340 -340
- package/devices/ctm.d.ts.map +1 -1
- package/devices/ctm.js +41 -0
- package/devices/ctm.js.map +1 -1
- package/devices/elko.js +2 -2
- package/devices/gledopto.d.ts.map +1 -1
- package/devices/gledopto.js +14 -6
- package/devices/gledopto.js.map +1 -1
- package/devices/ikea.d.ts.map +1 -1
- package/devices/ikea.js +3 -1
- package/devices/ikea.js.map +1 -1
- package/devices/lumi.d.ts.map +1 -1
- package/devices/lumi.js +1 -2
- package/devices/lumi.js.map +1 -1
- package/devices/osram.d.ts.map +1 -1
- package/devices/osram.js +7 -0
- package/devices/osram.js.map +1 -1
- package/devices/philips.d.ts.map +1 -1
- package/devices/philips.js +14 -0
- package/devices/philips.js.map +1 -1
- package/devices/robb.d.ts.map +1 -1
- package/devices/robb.js +16 -0
- package/devices/robb.js.map +1 -1
- package/devices/tuya.d.ts.map +1 -1
- package/devices/tuya.js +21 -4
- package/devices/tuya.js.map +1 -1
- package/devices/vimar.js +1 -1
- package/devices/vimar.js.map +1 -1
- package/lib/generateDefinition.js +0 -1
- package/lib/generateDefinition.js.map +1 -1
- package/lib/ledvance.d.ts +1 -1
- package/lib/legacy.d.ts +123 -123
- package/lib/legrand.d.ts +6 -6
- package/lib/lumi.d.ts +88 -89
- package/lib/lumi.d.ts.map +1 -1
- package/lib/lumi.js +7 -18
- package/lib/lumi.js.map +1 -1
- package/lib/philips.d.ts +10 -10
- package/lib/tuya.d.ts +22 -19
- package/lib/tuya.d.ts.map +1 -1
- package/lib/tuya.js +14 -1
- package/lib/tuya.js.map +1 -1
- package/lib/zosung.d.ts +2 -2
- package/package.json +7 -7
package/lib/lumi.js
CHANGED
|
@@ -1452,8 +1452,8 @@ exports.lumiModernExtend = {
|
|
|
1452
1452
|
}),
|
|
1453
1453
|
lumiCurtainManualOpenClose: (args) => modernExtend.binary({
|
|
1454
1454
|
name: 'manual_open_close',
|
|
1455
|
-
valueOn: ['ON',
|
|
1456
|
-
valueOff: ['OFF',
|
|
1455
|
+
valueOn: ['ON', 1],
|
|
1456
|
+
valueOff: ['OFF', 0],
|
|
1457
1457
|
cluster: 'manuSpecificLumi',
|
|
1458
1458
|
attribute: 'curtainHandOpen',
|
|
1459
1459
|
description: 'Gently pull to open/close the curtain automatically',
|
|
@@ -1476,8 +1476,8 @@ exports.lumiModernExtend = {
|
|
|
1476
1476
|
}),
|
|
1477
1477
|
lumiCurtainManualStop: (args) => modernExtend.binary({
|
|
1478
1478
|
name: 'manual_stop',
|
|
1479
|
-
valueOn: ['ON',
|
|
1480
|
-
valueOff: ['OFF',
|
|
1479
|
+
valueOn: ['ON', 1],
|
|
1480
|
+
valueOff: ['OFF', 0],
|
|
1481
1481
|
cluster: 'manuSpecificLumi',
|
|
1482
1482
|
attribute: { ID: 0x043a, type: 0x10 },
|
|
1483
1483
|
description: 'Manually pulling the curtain during operation stops the motor',
|
|
@@ -1499,7 +1499,7 @@ exports.lumiModernExtend = {
|
|
|
1499
1499
|
}),
|
|
1500
1500
|
lumiCurtainStatus: (args) => modernExtend.enumLookup({
|
|
1501
1501
|
name: 'status',
|
|
1502
|
-
lookup: {
|
|
1502
|
+
lookup: { closing: 0, opening: 1, stopped: 2, blocked: 3 },
|
|
1503
1503
|
cluster: 'manuSpecificLumi',
|
|
1504
1504
|
attribute: { ID: 0x0421, type: 0x20 },
|
|
1505
1505
|
description: 'Current status of the curtain (Opening, Closing, Stopped, Blocked)',
|
|
@@ -1510,7 +1510,7 @@ exports.lumiModernExtend = {
|
|
|
1510
1510
|
}),
|
|
1511
1511
|
lumiCurtainLastManualOperation: (args) => modernExtend.enumLookup({
|
|
1512
1512
|
name: 'last_manual_operation',
|
|
1513
|
-
lookup: {
|
|
1513
|
+
lookup: { open: 1, close: 2, stop: 3 },
|
|
1514
1514
|
cluster: 'manuSpecificLumi',
|
|
1515
1515
|
attribute: { ID: 0x0425, type: 0x20 },
|
|
1516
1516
|
description: 'Last triggered manual operation',
|
|
@@ -1545,7 +1545,7 @@ exports.lumiModernExtend = {
|
|
|
1545
1545
|
}),
|
|
1546
1546
|
lumiCurtainCalibrationStatus: (args) => modernExtend.enumLookup({
|
|
1547
1547
|
name: 'calibration_status',
|
|
1548
|
-
lookup: {
|
|
1548
|
+
lookup: { not_calibrated: 0, half_calibrated: 1, fully_calibrated: 2 },
|
|
1549
1549
|
cluster: 'manuSpecificLumi',
|
|
1550
1550
|
attribute: { ID: 0x0426, type: 0x20 },
|
|
1551
1551
|
description: 'Calibration status of the curtain (Not calibrated, Half calibrated, Fully calibrated)',
|
|
@@ -1566,17 +1566,6 @@ exports.lumiModernExtend = {
|
|
|
1566
1566
|
entityCategory: 'diagnostic',
|
|
1567
1567
|
...args,
|
|
1568
1568
|
}),
|
|
1569
|
-
lumiCurtainControlManuSpecific: (args) => modernExtend.enumLookup({
|
|
1570
|
-
name: 'control',
|
|
1571
|
-
lookup: { toggle: 3, open: 7, close: 8 },
|
|
1572
|
-
cluster: 'manuSpecificLumi',
|
|
1573
|
-
attribute: { ID: 0x0420, type: 0x20 },
|
|
1574
|
-
description: 'manuSpecific curtain control',
|
|
1575
|
-
zigbeeCommandOptions: { manufacturerCode: exports.manufacturerCode },
|
|
1576
|
-
access: 'ALL',
|
|
1577
|
-
entityCategory: 'config',
|
|
1578
|
-
...args,
|
|
1579
|
-
}),
|
|
1580
1569
|
lumiCurtainIdentifyBeep: (args) => modernExtend.enumLookup({
|
|
1581
1570
|
name: 'identify_beep',
|
|
1582
1571
|
lookup: { short: 0, '1_sec': 1, '2_sec': 2 },
|