zigbee-herdsman-converters 14.0.322 → 14.0.323
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/converters/fromZigbee.js +2 -2
- package/devices/osram.js +8 -0
- package/devices/philips.js +9 -0
- package/npm-shrinkwrap.json +1 -1
- package/package.json +1 -1
package/converters/fromZigbee.js
CHANGED
|
@@ -1425,11 +1425,11 @@ const converters = {
|
|
|
1425
1425
|
const invert = model.meta && model.meta.coverInverted ? !options.invert_cover : options.invert_cover;
|
|
1426
1426
|
if (msg.data.hasOwnProperty('currentPositionLiftPercentage') && msg.data['currentPositionLiftPercentage'] <= 100) {
|
|
1427
1427
|
const value = msg.data['currentPositionLiftPercentage'];
|
|
1428
|
-
result
|
|
1428
|
+
result[postfixWithEndpointName('position', msg, model)] = invert ? value : 100 - value;
|
|
1429
1429
|
}
|
|
1430
1430
|
if (msg.data.hasOwnProperty('currentPositionTiltPercentage') && msg.data['currentPositionTiltPercentage'] <= 100) {
|
|
1431
1431
|
const value = msg.data['currentPositionTiltPercentage'];
|
|
1432
|
-
result
|
|
1432
|
+
result[postfixWithEndpointName('tilt', msg, model)] = invert ? value : 100 - value;
|
|
1433
1433
|
}
|
|
1434
1434
|
return result;
|
|
1435
1435
|
},
|
package/devices/osram.js
CHANGED
|
@@ -30,6 +30,14 @@ module.exports = [
|
|
|
30
30
|
extend: extend.ledvance.light_onoff_brightness_colortemp_color(),
|
|
31
31
|
ota: ota.ledvance,
|
|
32
32
|
},
|
|
33
|
+
{
|
|
34
|
+
zigbeeModel: ['LIGHTIFY RT RGBW'],
|
|
35
|
+
model: '73741_LIGHTIFY',
|
|
36
|
+
vendor: 'OSRAM',
|
|
37
|
+
description: 'LIGHTIFY RT5/6 LED',
|
|
38
|
+
extend: extend.ledvance.light_onoff_brightness_colortemp_color(),
|
|
39
|
+
ota: ota.ledvance,
|
|
40
|
+
},
|
|
33
41
|
{
|
|
34
42
|
zigbeeModel: ['Classic A60 RGBW'],
|
|
35
43
|
model: 'AA69697',
|
package/devices/philips.js
CHANGED
|
@@ -1417,6 +1417,15 @@ module.exports = [
|
|
|
1417
1417
|
extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
1418
1418
|
ota: ota.zigbeeOTA,
|
|
1419
1419
|
},
|
|
1420
|
+
{
|
|
1421
|
+
zigbeeModel: ['LCT020'],
|
|
1422
|
+
model: '4080148P7',
|
|
1423
|
+
vendor: 'Philips',
|
|
1424
|
+
description: 'Hue Signe table light',
|
|
1425
|
+
meta: {turnsOffAtBrightness1: true},
|
|
1426
|
+
extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
1427
|
+
ota: ota.zigbeeOTA,
|
|
1428
|
+
},
|
|
1420
1429
|
{
|
|
1421
1430
|
zigbeeModel: ['4080148P9'],
|
|
1422
1431
|
model: '4080148P9',
|
package/npm-shrinkwrap.json
CHANGED