zigbee-herdsman-converters 14.0.556 → 14.0.557
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/toZigbee.js +14 -13
- package/devices/paulmann.js +1 -0
- package/devices/tuya.js +1 -0
- package/package.json +1 -1
package/converters/toZigbee.js
CHANGED
|
@@ -73,7 +73,7 @@ const converters = {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
if (isNotification) {
|
|
76
|
-
entity.commandResponse('ssIasAce', 'armRsp', {armnotification: mode}, {}, value.transaction);
|
|
76
|
+
await entity.commandResponse('ssIasAce', 'armRsp', {armnotification: mode}, {}, value.transaction);
|
|
77
77
|
|
|
78
78
|
// Do not update PanelStatus after confirming transaction.
|
|
79
79
|
// Instead the server should send an arm_mode command with the necessary state.
|
|
@@ -88,7 +88,7 @@ const converters = {
|
|
|
88
88
|
|
|
89
89
|
globalStore.putValue(entity, 'panelStatus', panelStatus);
|
|
90
90
|
const payload = {panelstatus: panelStatus, secondsremain: 0, audiblenotif: 0, alarmstatus: 0};
|
|
91
|
-
entity.commandResponse('ssIasAce', 'panelStatusChanged', payload);
|
|
91
|
+
await entity.commandResponse('ssIasAce', 'panelStatusChanged', payload);
|
|
92
92
|
},
|
|
93
93
|
},
|
|
94
94
|
battery_percentage_remaining: {
|
|
@@ -2577,17 +2577,7 @@ const converters = {
|
|
|
2577
2577
|
return {state: {power_outage_memory: value}};
|
|
2578
2578
|
},
|
|
2579
2579
|
},
|
|
2580
|
-
|
|
2581
|
-
key: ['power_outage_memory'],
|
|
2582
|
-
convertSet: async (entity, key, value, meta) => {
|
|
2583
|
-
value = value.toLowerCase();
|
|
2584
|
-
const lookup = {'off': 0x00, 'on': 0x01, 'restore': 0x02};
|
|
2585
|
-
utils.validateValue(value, Object.keys(lookup));
|
|
2586
|
-
const payload = lookup[value];
|
|
2587
|
-
await entity.write('genOnOff', {0x8002: {value: payload, type: 0x30}});
|
|
2588
|
-
return {state: {power_outage_memory: value}};
|
|
2589
|
-
},
|
|
2590
|
-
},
|
|
2580
|
+
|
|
2591
2581
|
tuya_relay_din_led_indicator: {
|
|
2592
2582
|
key: ['indicator_mode'],
|
|
2593
2583
|
convertSet: async (entity, key, value, meta) => {
|
|
@@ -3580,6 +3570,17 @@ const converters = {
|
|
|
3580
3570
|
await tuya.sendDataPointBool(entity, tuya.dataPoints.state, value === 'cool');
|
|
3581
3571
|
},
|
|
3582
3572
|
},
|
|
3573
|
+
tuya_switch_power_outage_memory: {
|
|
3574
|
+
key: ['power_outage_memory'],
|
|
3575
|
+
convertSet: async (entity, key, value, meta) => {
|
|
3576
|
+
value = value.toLowerCase();
|
|
3577
|
+
const lookup = {'off': 0x00, 'on': 0x01, 'restore': 0x02};
|
|
3578
|
+
utils.validateValue(value, Object.keys(lookup));
|
|
3579
|
+
const payload = lookup[value];
|
|
3580
|
+
await entity.write('genOnOff', {0x8002: {value: payload, type: 0x30}});
|
|
3581
|
+
return {state: {power_outage_memory: value}};
|
|
3582
|
+
},
|
|
3583
|
+
},
|
|
3583
3584
|
moes_power_on_behavior: {
|
|
3584
3585
|
key: ['power_on_behavior'],
|
|
3585
3586
|
convertSet: async (entity, key, value, meta) => {
|
package/devices/paulmann.js
CHANGED
|
@@ -71,6 +71,7 @@ module.exports = [
|
|
|
71
71
|
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 370]}),
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
|
+
fingerprint: [{modelID: 'CCT Light', manufacturerName: 'Paulmann lamp'}],
|
|
74
75
|
zigbeeModel: ['CCT light', 'CCT_light', 'CCT light '],
|
|
75
76
|
model: '50064',
|
|
76
77
|
vendor: 'Paulmann',
|
package/devices/tuya.js
CHANGED
|
@@ -473,6 +473,7 @@ module.exports = [
|
|
|
473
473
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_rcggc0ys'},
|
|
474
474
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_s6zec0of'},
|
|
475
475
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_y5fjkn7x'},
|
|
476
|
+
{modelID: 'TS0505B', manufacturerName: '_TZ3210_cuqkfz2q'},
|
|
476
477
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_6amjviba'}],
|
|
477
478
|
model: 'TS0505B',
|
|
478
479
|
vendor: 'TuYa',
|